Class ClusterMasterExecutorUtil

Object
com.liferay.portal.kernel.cluster.ClusterMasterExecutorUtil

public class ClusterMasterExecutorUtil extends Object
Author:
Michael C. Han
  • Constructor Details

    • ClusterMasterExecutorUtil

      public ClusterMasterExecutorUtil()
  • Method Details

    • addClusterMasterTokenTransitionListener

      public static void addClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener)
    • executeOnMaster

      public static <T> Future<T> executeOnMaster(MethodHandler methodHandler)
    • isEnabled

      public static boolean isEnabled()
    • isMaster

      public static boolean isMaster()
    • removeClusterMasterTokenTransitionListener

      public static void removeClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener)