public class SingleClusterExecutor
extends java.lang.Object
implements com.liferay.portal.kernel.cluster.ClusterExecutor
| Constructor and Description |
|---|
SingleClusterExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClusterEventListener(com.liferay.portal.kernel.cluster.ClusterEventListener clusterEventListener) |
com.liferay.portal.kernel.cluster.FutureClusterResponses |
execute(com.liferay.portal.kernel.cluster.ClusterRequest clusterRequest) |
java.net.InetAddress |
getBindInetAddress() |
java.net.NetworkInterface |
getBindNetworkInterface() |
java.util.List<com.liferay.portal.kernel.cluster.ClusterEventListener> |
getClusterEventListeners() |
java.util.List<com.liferay.portal.kernel.cluster.ClusterNode> |
getClusterNodes() |
com.liferay.portal.kernel.cluster.ClusterNode |
getLocalClusterNode() |
boolean |
isClusterNodeAlive(java.lang.String clusterNodeId) |
boolean |
isEnabled() |
void |
removeClusterEventListener(com.liferay.portal.kernel.cluster.ClusterEventListener clusterEventListener) |
public void addClusterEventListener(com.liferay.portal.kernel.cluster.ClusterEventListener clusterEventListener)
addClusterEventListener in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic com.liferay.portal.kernel.cluster.FutureClusterResponses execute(com.liferay.portal.kernel.cluster.ClusterRequest clusterRequest)
execute in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic java.net.InetAddress getBindInetAddress()
getBindInetAddress in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic java.net.NetworkInterface getBindNetworkInterface()
getBindNetworkInterface in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic java.util.List<com.liferay.portal.kernel.cluster.ClusterEventListener> getClusterEventListeners()
getClusterEventListeners in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic java.util.List<com.liferay.portal.kernel.cluster.ClusterNode> getClusterNodes()
getClusterNodes in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic com.liferay.portal.kernel.cluster.ClusterNode getLocalClusterNode()
getLocalClusterNode in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic boolean isClusterNodeAlive(java.lang.String clusterNodeId)
isClusterNodeAlive in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic boolean isEnabled()
isEnabled in interface com.liferay.portal.kernel.cluster.ClusterExecutorpublic void removeClusterEventListener(com.liferay.portal.kernel.cluster.ClusterEventListener clusterEventListener)
removeClusterEventListener in interface com.liferay.portal.kernel.cluster.ClusterExecutor