public interface NodeIdentityService
Node identity service is a local service that provides retrospection about the node and defines its identity.
Modifier and Type | Method and Description |
---|---|
NodeDescriptor |
descriptor()
Returns the descriptor for the node that contains cached, serializable information from the service.
|
boolean |
is(NodeType type)
Checks whether node has a given type.
|
boolean |
isCompute()
Tells whether the node is compute node.
|
java.lang.String |
nodeId()
Returns the stringified ID of the node.
|
java.util.Set<java.lang.String> |
services()
Returns the set of running services.
|
java.lang.String nodeId()
Returns the stringified ID of the node.
NodeDescriptor descriptor()
Returns the descriptor for the node that contains cached, serializable information from the service.
java.util.Set<java.lang.String> services()
Returns the set of running services.
boolean isCompute()
Tells whether the node is compute node.
boolean is(NodeType type)
Checks whether node has a given type.
type
- a type to check.