Package org.graylog2.cluster
Class NodeServiceImpl
java.lang.Object
org.graylog2.cluster.NodeServiceImpl
- All Implemented Interfaces:
NodeService
Deprecated.
This is left for compatibility reasons,
delegating calls to org.graylog2.cluster.nodes.NodeService<ServerNodeEntity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.byNodeIds(Collection<String> nodeIds) Deprecated.booleanDeprecated.booleanregisterServer(String nodeId, boolean isLeader, URI httpPublishUri, String clusterUri, String hostname) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.cluster.NodeService
registerServer
-
Constructor Details
-
NodeServiceImpl
Deprecated.
-
-
Method Details
-
registerServer
public boolean registerServer(String nodeId, boolean isLeader, URI httpPublishUri, String clusterUri, String hostname) Deprecated.- Specified by:
registerServerin interfaceNodeService
-
byNodeId
Deprecated.- Specified by:
byNodeIdin interfaceNodeService- Throws:
NodeNotFoundException
-
byNodeId
Deprecated.- Specified by:
byNodeIdin interfaceNodeService- Throws:
NodeNotFoundException
-
byNodeIds
Deprecated.- Specified by:
byNodeIdsin interfaceNodeService
-
allActive
Deprecated.- Specified by:
allActivein interfaceNodeService
-
isAnyLeaderPresent
public boolean isAnyLeaderPresent()Deprecated.- Specified by:
isAnyLeaderPresentin interfaceNodeService
-