Methods Summary |
---|
public java.io.Serializable | get(java.lang.String category, java.io.Serializable key)Read in a value associated to a key in the given category. Read is performed locally.
|
public java.util.Collection | getAllCategories()Return a list of all categories. Call managed locally: no network access.
|
public java.util.Collection | getAllKeys(java.lang.String category)Return a list of all keys in a category. Call managed locally: no network access.
|
public java.util.Collection | getAllValues(java.lang.String category)Return a list of all values in a category. Call managed locally: no network access.
|
public void | registerDSListener(java.lang.String category, org.jboss.ha.framework.interfaces.DistributedState$DSListener subscriber)Subscribes to receive {@link DistributedState.DSListener} events
|
public void | registerDSListenerEx(java.lang.String category, org.jboss.ha.framework.interfaces.DistributedState$DSListenerEx subscriber)Subscribes to receive {@link DistributedState.DSListenerEx} events
|
public java.io.Serializable | remove(java.lang.String category, java.io.Serializable key)Remove the key from the ReplicationService in the given category
|
public java.io.Serializable | remove(java.lang.String category, java.io.Serializable key, boolean asynchronousCall)Same as remove(String, String) but caller can choose if the call is made
synchronously or asynchronously. By default, calls are asynchronous.
|
public void | set(java.lang.String category, java.io.Serializable key, java.io.Serializable value)Associates a value to a key in a specific category
|
public void | set(java.lang.String category, java.io.Serializable key, java.io.Serializable value, boolean asynchronousCall)Same as set(String, String) but caller can choose if the call is made
synchronously or asynchronously. By default, calls are asynchronous.
|
public void | unregisterDSListener(java.lang.String category, org.jboss.ha.framework.interfaces.DistributedState$DSListener subscriber)Subscribes from {@link DistributedState.DSListener} events
|
public void | unregisterDSListenerEx(java.lang.String category, org.jboss.ha.framework.interfaces.DistributedState$DSListenerEx subscriber)Subscribes from {@link DistributedState.DSListenerEx} events
|