Package com.qfs.messenger
Interface IAddress
-
- All Superinterfaces:
Externalizable,Serializable
- All Known Implementing Classes:
LocalMessenger.LocalAddress,NettyAddressGenerator.NettyAddress
public interface IAddress extends Externalizable
Class representing a network address of a cluster node.- Author:
- ActiveViam
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIAddress.NodeTypeType of node in an ActivePivot distributed cluster.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()Returns a human-readable string representation of the Address.StringgetCubeId()Returns the unique cube identifier on which the address is based.StringgetEndPointAddress()Returns the endpoint address of the cube this address is based on if exposed.IAddress.NodeTypegetNodeType()Returns the type of the node in the cluster.-
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
-
-
-
Method Detail
-
getNodeType
IAddress.NodeType getNodeType()
Returns the type of the node in the cluster.
-
getAddress
String getAddress()
Returns a human-readable string representation of the Address.
-
getEndPointAddress
String getEndPointAddress()
Returns the endpoint address of the cube this address is based on if exposed.- See Also:
ActiveViamProperty#DATA_CUBE_REST_ENDPOINT_PROPERTY
-
getCubeId
String getCubeId()
Returns the unique cube identifier on which the address is based.
-
-