Interface ClusterLeaderInitializationRoutine
-
- All Known Implementing Classes:
ClusterLeaderInitializationManager
,DelegatingClusterLeaderInitializationRoutine
,PerClusterInternalRTStoreInitializationRoutine
,SharedInternalRTStoreInitializationRoutine
,SystemSchemaInitializationRoutine
public interface ClusterLeaderInitializationRoutine
This class encapsulates business logic which needs to be executed once per cluster the first time a controller becomes leader of that cluster. It is executed asynchronously by theClusterLeaderInitializationManager
after the STANDBY -> LEADER transition completed. The logic should be idempotent, since it will be executed many times during the life of a cluster.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(java.lang.String clusterToInit)
-