public abstract class ClusterBase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.net.InetAddress |
bindInetAddress |
| Constructor and Description |
|---|
ClusterBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.jgroups.JChannel |
createJChannel(java.lang.String properties,
org.jgroups.Receiver receiver,
java.lang.String clusterName) |
abstract void |
destroy() |
protected java.util.List<com.liferay.portal.kernel.cluster.Address> |
getAddresses(org.jgroups.JChannel channel) |
protected void |
initBindAddress() |
protected abstract void |
initChannels() |
protected void |
initSystemProperties() |
boolean |
isEnabled() |
protected void |
sendJGroupsMessage(org.jgroups.JChannel jChannel,
org.jgroups.Address destAddress,
java.io.Serializable serializable) |
public void afterPropertiesSet()
public abstract void destroy()
public boolean isEnabled()
protected void sendJGroupsMessage(org.jgroups.JChannel jChannel,
org.jgroups.Address destAddress,
java.io.Serializable serializable)
throws java.lang.Exception
java.lang.Exceptionprotected org.jgroups.JChannel createJChannel(java.lang.String properties,
org.jgroups.Receiver receiver,
java.lang.String clusterName)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.cluster.Address> getAddresses(org.jgroups.JChannel channel)
protected void initBindAddress()
throws java.lang.Exception
java.lang.Exceptionprotected abstract void initChannels()
throws java.lang.Exception
java.lang.Exceptionprotected void initSystemProperties()