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.
|
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.