com.aerospike.client
Class Host

java.lang.Object
  extended by com.aerospike.client.Host

public final class Host
extends Object

Host name/port of database server.


Field Summary
 String name
          Host name or IP address of database server.
 int port
          Port of database server.
 
Constructor Summary
Host(String name, int port)
          Initialize host.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final String name
Host name or IP address of database server.


port

public final int port
Port of database server.

Constructor Detail

Host

public Host(String name,
            int port)
Initialize host.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012–2014 Aerospike, Inc. All rights reserved.