public class NodesRecoveryManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
END_OF_NODES_RECOVERY |
static String |
START_TO_RECOVER_NODES |
Constructor and Description |
---|
NodesRecoveryManager(RMCore rmCore) |
Modifier and Type | Method and Description |
---|---|
protected Function<RMCore,NodesLockRestorationManager> |
getNodesLockRestorationManagerBuilder() |
void |
initialize() |
protected void |
initNodesRestorationManager() |
void |
logRecoveryAbortedReason(String nodeSourceName,
String reason) |
boolean |
recoverFullyDeployedInfrastructureOrReset(String nodeSourceName,
NodeSource nodeSourceToDeploy,
NodeSourceDescriptor descriptor) |
void |
recoverNodes(NodeSource nodeSource) |
void |
recoverNodeSourcesAndNodes() |
void |
restoreLock(RMNode rmNode,
Client provider) |
public static final String START_TO_RECOVER_NODES
public static final String END_OF_NODES_RECOVERY
public NodesRecoveryManager(RMCore rmCore)
public void initialize()
protected void initNodesRestorationManager()
protected Function<RMCore,NodesLockRestorationManager> getNodesLockRestorationManagerBuilder()
public void recoverNodeSourcesAndNodes()
public boolean recoverFullyDeployedInfrastructureOrReset(String nodeSourceName, NodeSource nodeSourceToDeploy, NodeSourceDescriptor descriptor)
public void recoverNodes(NodeSource nodeSource)