@ProviderType
public class ClusterMasterExecutorUtil
extends Object
Constructor and Description |
---|
ClusterMasterExecutorUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener) |
static <T> Future<T> |
executeOnMaster(MethodHandler methodHandler) |
static ClusterMasterExecutor |
getClusterMasterExecutor()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static boolean |
isEnabled() |
static boolean |
isMaster() |
static void |
removeClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener) |
public static void addClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener)
public static <T> Future<T> executeOnMaster(MethodHandler methodHandler)
@Deprecated public static ClusterMasterExecutor getClusterMasterExecutor()
public static boolean isEnabled()
public static boolean isMaster()
public static void removeClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener)