com.liferay.portal.kernel.cluster
Class ClusterExecutorUtil
java.lang.Object
com.liferay.portal.kernel.cluster.ClusterExecutorUtil
public class ClusterExecutorUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterExecutorUtil
public ClusterExecutorUtil()
addClusterEventListener
public static void addClusterEventListener(ClusterEventListener clusterEventListener)
destroy
public static void destroy()
execute
public static FutureClusterResponses execute(ClusterRequest clusterRequest)
throws SystemException
- Throws:
SystemException
getClusterNodes
public static List<ClusterNode> getClusterNodes()
getLocalClusterNode
public static ClusterNode getLocalClusterNode()
throws SystemException
- Throws:
SystemException
initialize
public static void initialize()
isClusterNodeAlive
public static boolean isClusterNodeAlive(String clusterNodeId)
isEnabled
public static boolean isEnabled()
removeClusterEventListener
public static void removeClusterEventListener(ClusterEventListener clusterEventListener)
setClusterExecutor
public void setClusterExecutor(ClusterExecutor clusterExecutor)