org.apache.stratos.lb.common.replication
Class RequestTokenReplicationCommand

java.lang.Object
  extended by org.apache.axis2.clustering.ClusteringCommand
      extended by org.apache.axis2.clustering.ClusteringMessage
          extended by org.apache.stratos.lb.common.replication.RequestTokenReplicationCommand
All Implemented Interfaces:
Serializable

public class RequestTokenReplicationCommand
extends org.apache.axis2.clustering.ClusteringMessage

This is the notification message a primary load balancer will send to all other load balancers in the cluster, to replicate its state. When the other load balancers received this message, they will set their states to the state of primary load balancer.

See Also:
Serialized Form

Constructor Summary
RequestTokenReplicationCommand()
           
 
Method Summary
 void execute(org.apache.axis2.context.ConfigurationContext configurationContext)
           
 Map<String,Map<String,?>> getAppDomainContexts()
           
 org.apache.axis2.clustering.ClusteringCommand getResponse()
           
 void setAppDomainContexts(Map<String,Map<String,?>> appDomainContexts)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestTokenReplicationCommand

public RequestTokenReplicationCommand()
Method Detail

getAppDomainContexts

public Map<String,Map<String,?>> getAppDomainContexts()

setAppDomainContexts

public void setAppDomainContexts(Map<String,Map<String,?>> appDomainContexts)

execute

public void execute(org.apache.axis2.context.ConfigurationContext configurationContext)
             throws org.apache.axis2.clustering.ClusteringFault
Specified by:
execute in class org.apache.axis2.clustering.ClusteringCommand
Throws:
org.apache.axis2.clustering.ClusteringFault

toString

public String toString()
Overrides:
toString in class Object

getResponse

public org.apache.axis2.clustering.ClusteringCommand getResponse()
Specified by:
getResponse in class org.apache.axis2.clustering.ClusteringMessage


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.