public class Replicator extends Object
Constructor and Description |
---|
Replicator() |
Modifier and Type | Method and Description |
---|---|
static void |
removeAndReplicateState(String key,
org.apache.axis2.context.ConfigurationContext configCtx)
Helper method to replicates states of the property with given key
Removes the property and then replicates the current state so that all instances
across cluster can see this state
|
static void |
setAndReplicateState(String key,
Object value,
org.apache.axis2.context.ConfigurationContext configCtx)
Helper method to replicates states of the property with given key
replicates the given state so that all instances across cluster can see this state
|
public static void removeAndReplicateState(String key, org.apache.axis2.context.ConfigurationContext configCtx)
key
- The key of the propertyconfigCtx
- Axis2 configuration contextpublic static void setAndReplicateState(String key, Object value, org.apache.axis2.context.ConfigurationContext configCtx)
key
- The key of the propertyvalue
- The value of the propertyconfigCtx
- Axis2 COnfiguration ContextCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.