com.liferay.portal.cluster
Class ClusterBase
java.lang.Object
com.liferay.portal.cluster.ClusterBase
- Direct Known Subclasses:
- ClusterExecutorImpl, ClusterLinkImpl
public abstract class ClusterBase
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterBase
public ClusterBase()
afterPropertiesSet
public void afterPropertiesSet()
destroy
public abstract void destroy()
isEnabled
public boolean isEnabled()
createJChannel
protected org.jgroups.JChannel createJChannel(String properties,
org.jgroups.Receiver receiver,
String clusterName)
throws Exception
- Throws:
Exception
getAddresses
protected List<Address> getAddresses(org.jgroups.JChannel channel)
getBindInetAddress
protected InetAddress getBindInetAddress(org.jgroups.JChannel jChannel)
initBindAddress
protected void initBindAddress()
throws Exception
- Throws:
Exception
initSystemProperties
protected void initSystemProperties()