redis.clients.jedis
Class HostAndPort

java.lang.Object
  extended by redis.clients.jedis.HostAndPort

public class HostAndPort
extends Object


Field Summary
static String LOCALHOST_STR
           
 
Constructor Summary
HostAndPort(String host, int port)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHost()
           
 int getPort()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCALHOST_STR

public static final String LOCALHOST_STR
See Also:
Constant Field Values
Constructor Detail

HostAndPort

public HostAndPort(String host,
                   int port)
Method Detail

getHost

public String getHost()

getPort

public int getPort()

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All rights reserved.