com.liferay.portal.cluster
Class ClusterRequestReceiver
java.lang.Object
com.liferay.portal.cluster.BaseReceiver
com.liferay.portal.cluster.ClusterRequestReceiver
- All Implemented Interfaces:
- org.jgroups.MembershipListener, org.jgroups.MessageListener, org.jgroups.Receiver
public class ClusterRequestReceiver
- extends BaseReceiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterRequestReceiver
public ClusterRequestReceiver(ClusterExecutorImpl clusterExecutorImpl)
destroy
public void destroy()
initialize
public void initialize()
receive
public void receive(org.jgroups.Message message)
- Specified by:
receive
in interface org.jgroups.MessageListener
- Overrides:
receive
in class BaseReceiver
invoke
protected Object invoke(String servletContextName,
String beanIdentifier,
MethodHandler methodHandler)
throws Exception
- Throws:
Exception
processClusterRequest
protected void processClusterRequest(ClusterRequest clusterRequest,
org.jgroups.Address sourceAddress,
org.jgroups.Address localAddress)
processClusterResponse
protected void processClusterResponse(ClusterNodeResponse clusterNodeResponse,
org.jgroups.Address sourceAddress,
org.jgroups.Address localAddress)
processLocalMessage
protected boolean processLocalMessage(Object message,
org.jgroups.Address sourceAddress)