Interface ClusterMasterExecutor


@ProviderType public interface ClusterMasterExecutor
Author:
Michael C. Han
  • Method Details

    • addClusterMasterTokenTransitionListener

      void addClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenAcquisitionListener)
    • executeOnMaster

      <T> com.liferay.petra.concurrent.NoticeableFuture<T> executeOnMaster(MethodHandler methodHandler)
    • isEnabled

      boolean isEnabled()
    • isMaster

      boolean isMaster()
    • removeClusterMasterTokenTransitionListener

      void removeClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenAcquisitionListener)