/** * Verifies cluster consistency (currently checks whether there is no other node with the same ID, * and whether clustered/non-clustered nodes are OK). * * @param result * @return */ public void checkClusterConfiguration(OperationResult result) { // LOGGER.trace("taskManager = " + taskManager); // LOGGER.trace("taskManager.getNodeRegistrar() = " + taskManager.getNodeRegistrar()); nodeRegistrar.verifyNodeObject( result); // if error, sets the error state and stops the scheduler nodeRegistrar.checkNonClusteredNodes(result); // the same }
public boolean isCurrentNode(String node) { return nodeRegistrar.isCurrentNode(node); }
public boolean isCurrentNode(PrismObject<NodeType> node) { return nodeRegistrar.isCurrentNode(node); }
public String getNodeId() { return nodeRegistrar.getNodeId(); }
public void recordNodeShutdown(OperationResult result) { nodeRegistrar.recordNodeShutdown(result); }
public boolean isUp(NodeType nodeType) { return nodeRegistrar.isUp(nodeType); }
public PrismObject<NodeType> getNodePrism() { return nodeRegistrar.getNodePrism(); }
public void createNodeObject(OperationResult result) throws TaskManagerInitializationException { nodeRegistrar.createNodeObject(result); }
public void deleteNode(String nodeOid, OperationResult result) throws SchemaException, ObjectNotFoundException { nodeRegistrar.deleteNode(nodeOid, result); }