public final class Member extends Object implements Externalizable
| Constructor and Description |
|---|
Member() |
Member(String id,
String alias,
io.scalecube.net.Address address,
String namespace)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.scalecube.net.Address |
address()
Returns cluster member address, an address on which this cluster member listens connections
from other cluster members.
|
String |
alias()
Returns cluster member alias if exists, otherwise
null. |
boolean |
equals(Object that) |
int |
hashCode() |
String |
id()
Returns cluster member local id.
|
String |
namespace()
Returns cluster member namespace.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public String id()
public String alias()
null.nullClusterConfig.memberAlias(String)public String namespace()
MembershipConfig.namespace(String)public io.scalecube.net.Address address()
TransportConfig.port(int),
ClusterConfig#containerHost(String),
ClusterConfig#containerPort(Integer)public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOExceptionCopyright © 2015–2021. All rights reserved.