public class ClusterManager extends Object
Constructor and Description |
---|
ClusterManager(TaskManagerQuartzImpl taskManager) |
Modifier and Type | Method and Description |
---|---|
void |
checkClusterConfiguration(OperationResult result)
Verifies cluster consistency (currently checks whether there is no other node with the same ID, and whether clustered/non-clustered nodes are OK).
|
void |
checkStalledTasks(OperationResult result) |
void |
checkSystemConfigurationChanged(OperationResult parentResult)
Check whether system configuration has not changed in repository (e.g.
|
void |
checkWaitingTasks(OperationResult result) |
void |
createNodeObject(OperationResult result) |
void |
deleteNode(String nodeOid,
OperationResult result) |
String |
dumpNodeInfo(com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType node) |
List<PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType>> |
getAllNodes(OperationResult result) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> |
getNode(String nodeOid,
OperationResult result) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> |
getNodeById(String nodeIdentifier,
OperationResult result) |
String |
getNodeId() |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> |
getNodePrism() |
boolean |
isClusterManagerThreadActive() |
boolean |
isCurrentNode(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> node) |
boolean |
isCurrentNode(String node) |
boolean |
isUp(com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType nodeType) |
void |
recordNodeShutdown(OperationResult result) |
void |
startClusterManagerThread() |
void |
stopClusterManagerThread(long waitTime,
OperationResult parentResult) |
public ClusterManager(TaskManagerQuartzImpl taskManager)
public void checkClusterConfiguration(OperationResult result)
result
- public boolean isClusterManagerThreadActive()
public void recordNodeShutdown(OperationResult result)
public String getNodeId()
public boolean isCurrentNode(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> node)
public boolean isCurrentNode(String node)
public void deleteNode(String nodeOid, OperationResult result) throws SchemaException, ObjectNotFoundException
public void createNodeObject(OperationResult result) throws TaskManagerInitializationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> getNodePrism()
public boolean isUp(com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType nodeType)
public void stopClusterManagerThread(long waitTime, OperationResult parentResult)
public void startClusterManagerThread()
public String dumpNodeInfo(com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType node)
public List<PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType>> getAllNodes(OperationResult result)
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> getNode(String nodeOid, OperationResult result) throws SchemaException, ObjectNotFoundException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.NodeType> getNodeById(String nodeIdentifier, OperationResult result) throws ObjectNotFoundException
ObjectNotFoundException
public void checkSystemConfigurationChanged(OperationResult parentResult)
parentResult
- public void checkWaitingTasks(OperationResult result) throws SchemaException
SchemaException
public void checkStalledTasks(OperationResult result) throws SchemaException
SchemaException
Copyright © 2016 evolveum. All rights reserved.