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 the ClusterLeaderInitializationManager 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

    Modifier and Type
    Method
    Description
    void
    execute(String clusterToInit)
     
  • Method Details

    • execute

      void execute(String clusterToInit)