@ProviderType
public interface ClusterMasterExecutor
Modifier and Type | Method and Description |
---|---|
void |
addClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenAcquisitionListener) |
<T> NoticeableFuture<T> |
executeOnMaster(MethodHandler methodHandler) |
boolean |
isEnabled() |
boolean |
isMaster() |
void |
removeClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenAcquisitionListener) |
void addClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenAcquisitionListener)
<T> NoticeableFuture<T> executeOnMaster(MethodHandler methodHandler)
boolean isEnabled()
boolean isMaster()
void removeClusterMasterTokenTransitionListener(ClusterMasterTokenTransitionListener clusterMasterTokenAcquisitionListener)