public class SingleClusterMasterExecutor
extends java.lang.Object
implements com.liferay.portal.kernel.cluster.ClusterMasterExecutor
| Constructor and Description |
|---|
SingleClusterMasterExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClusterMasterTokenTransitionListener(com.liferay.portal.kernel.cluster.ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener) |
<T> com.liferay.portal.kernel.concurrent.NoticeableFuture<T> |
executeOnMaster(com.liferay.portal.kernel.util.MethodHandler methodHandler) |
boolean |
isEnabled() |
boolean |
isMaster() |
void |
removeClusterMasterTokenTransitionListener(com.liferay.portal.kernel.cluster.ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener) |
public void addClusterMasterTokenTransitionListener(com.liferay.portal.kernel.cluster.ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener)
addClusterMasterTokenTransitionListener in interface com.liferay.portal.kernel.cluster.ClusterMasterExecutorpublic <T> com.liferay.portal.kernel.concurrent.NoticeableFuture<T> executeOnMaster(com.liferay.portal.kernel.util.MethodHandler methodHandler)
executeOnMaster in interface com.liferay.portal.kernel.cluster.ClusterMasterExecutorpublic boolean isEnabled()
isEnabled in interface com.liferay.portal.kernel.cluster.ClusterMasterExecutorpublic boolean isMaster()
isMaster in interface com.liferay.portal.kernel.cluster.ClusterMasterExecutorpublic void removeClusterMasterTokenTransitionListener(com.liferay.portal.kernel.cluster.ClusterMasterTokenTransitionListener clusterMasterTokenTransitionListener)
removeClusterMasterTokenTransitionListener in interface com.liferay.portal.kernel.cluster.ClusterMasterExecutor