public class KvStateServerAddress extends Object implements Serializable
KvStateServer
.Constructor and Description |
---|
KvStateServerAddress(InetAddress hostAddress,
int port)
Creates a KvStateServerAddress for the given KvStateServer host address
and port.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
InetAddress |
getHost()
Returns the host address of the KvStateServer.
|
int |
getPort()
Returns the port of the KvStateServer.
|
int |
hashCode() |
public KvStateServerAddress(InetAddress hostAddress, int port)
hostAddress
- KvStateServer host addressport
- KvStateServer portpublic InetAddress getHost()
public int getPort()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.