Class: Cassandra::AddressResolution::Policies::None

Inherits:
Object
  • Object
show all
Defined in:
lib/cassandra/address_resolution/policies/none.rb

Overview

The default address resolution policy. Always returns original address.

Instance Method Summary collapse

Instance Method Details

#resolve(address) ⇒ IPAddr

Returns original address.

Parameters:

  • address (IPAddr)

    node ip address from Cassandra's system table

Returns:

  • (IPAddr)

    same as address



29
30
31
# File 'lib/cassandra/address_resolution/policies/none.rb', line 29

def resolve(address)
  address
end