public interface NodeService extends PersistedService
| Modifier and Type | Method and Description |
|---|---|
Map<String,Node> |
allActive() |
Map<String,Node> |
allActive(Node.Type type) |
Node |
byNodeId(NodeId nodeId) |
Node |
byNodeId(String nodeId) |
void |
dropOutdated() |
boolean |
isAnyMasterPresent() |
boolean |
isOnlyMaster(NodeId nodeIde) |
void |
markAsAlive(Node node,
boolean isMaster,
String restTransportAddress) |
void |
markAsAlive(Node node,
boolean isMaster,
URI restTransportAddress) |
String |
registerRadio(String nodeId,
String restTransportUri) |
String |
registerServer(String nodeId,
boolean isMaster,
URI restTransportUri) |
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateNode byNodeId(String nodeId) throws NodeNotFoundException
NodeNotFoundExceptionNode byNodeId(NodeId nodeId) throws NodeNotFoundException
NodeNotFoundExceptionvoid dropOutdated()
boolean isOnlyMaster(NodeId nodeIde)
boolean isAnyMasterPresent()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.