Package org.graylog2.cluster
Class NodeImpl
java.lang.Object
org.graylog2.database.PersistedImpl
org.graylog2.cluster.NodeImpl
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.graylog2.database.PersistedImpl
fields, id -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graylog2.database.PersistedImpl
asMap, equals, getFields, getId, getObjectId, hashCode, toString
-
Constructor Details
-
NodeImpl
-
NodeImpl
-
-
Method Details
-
getNodeId
-
isLeader
public boolean isLeader()Description copied from interface:NodeReturns the current leader status of the node. This is only informational and should be used with care. To determine if the current node is acting as leader, useLeaderElectionService.isLeader()instead. -
getTransportAddress
- Specified by:
getTransportAddressin interfaceNode
-
getLastSeen
public org.joda.time.DateTime getLastSeen()- Specified by:
getLastSeenin interfaceNode
-
getShortNodeId
- Specified by:
getShortNodeIdin interfaceNode
-
getType
-
getHostname
- Specified by:
getHostnamein interfaceNode
-
getValidations
- Specified by:
getValidationsin interfacePersisted
-
getEmbeddedValidations
- Specified by:
getEmbeddedValidationsin interfacePersisted
-