voldemort.store.socket
Class SocketDestination

java.lang.Object
  extended by voldemort.store.socket.SocketDestination

public class SocketDestination
extends java.lang.Object

A host + port + protocol


Constructor Summary
SocketDestination(java.lang.String host, int port, RequestFormatType requestFormatType)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHost()
           
 int getPort()
           
 RequestFormatType getRequestFormatType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocketDestination

public SocketDestination(java.lang.String host,
                         int port,
                         RequestFormatType requestFormatType)
Method Detail

getHost

public java.lang.String getHost()

getPort

public int getPort()

getRequestFormatType

public RequestFormatType getRequestFormatType()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu