Liferay 6.2-ce-ga5

com.liferay.portal.cluster
Class ClusterBase

java.lang.Object
  extended by com.liferay.portal.cluster.ClusterBase
Direct Known Subclasses:
ClusterExecutorImpl, ClusterLinkImpl

public abstract class ClusterBase
extends Object


Field Summary
protected static InetAddress bindInetAddress
           
 
Constructor Summary
ClusterBase()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  org.jgroups.JChannel createJChannel(String properties, org.jgroups.Receiver receiver, String clusterName)
           
abstract  void destroy()
           
protected  List<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, Serializable serializable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bindInetAddress

protected static InetAddress bindInetAddress
Constructor Detail

ClusterBase

public ClusterBase()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

destroy

public abstract void destroy()

isEnabled

public boolean isEnabled()

sendJGroupsMessage

protected void sendJGroupsMessage(org.jgroups.JChannel jChannel,
                                  org.jgroups.Address destAddress,
                                  Serializable serializable)
                           throws Exception
Throws:
Exception

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)

initBindAddress

protected void initBindAddress()
                        throws Exception
Throws:
Exception

initChannels

protected abstract void initChannels()
                              throws Exception
Throws:
Exception

initSystemProperties

protected void initSystemProperties()

Liferay 6.2-ce-ga5