Class RecoveryHandler
java.lang.Object
org.bonitasoft.engine.tenant.restart.RecoveryHandler
- All Implemented Interfaces:
TenantRestartHandler
The Recovery handler is responsible for recovering all candidate elements
at Engine startup.
It is called only once in a cluster startup (handled by TenantElementsRestartSupervisor)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled outside a transaction afterPlatformAPI.startNode()in a separate thread from the api call.voidCalled in a transaction duringPlatformAPI.startNode().
-
Constructor Details
-
RecoveryHandler
-
-
Method Details
-
beforeServicesStart
public void beforeServicesStart()Description copied from interface:TenantRestartHandlerCalled in a transaction duringPlatformAPI.startNode().- Specified by:
beforeServicesStartin interfaceTenantRestartHandler
-
afterServicesStart
public void afterServicesStart()Description copied from interface:TenantRestartHandlerCalled outside a transaction afterPlatformAPI.startNode()in a separate thread from the api call.- Specified by:
afterServicesStartin interfaceTenantRestartHandler
-