public class InMemorySharedStateComponent extends Object implements ISharedStateComponent
| Constructor and Description |
|---|
InMemorySharedStateComponent()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
clearProperty(String namespace,
String propertyName,
IAsyncResultHandler<T> handler)
Clears a property from the shared state environment, returning the previous
value of the property or null if it was not previously set.
|
<T> void |
getProperty(String namespace,
String propertyName,
T defaultValue,
IAsyncResultHandler<T> handler)
Gets the value of a single property stored in the shared state
environment.
|
<T> void |
setProperty(String namespace,
String propertyName,
T value,
IAsyncResultHandler<T> handler)
Sets a single property in the shared state environment, returning
the previous value of the property or null if it was not previously set.
|
public <T> void getProperty(String namespace, String propertyName, T defaultValue, IAsyncResultHandler<T> handler)
ISharedStateComponentpublic <T> void setProperty(String namespace, String propertyName, T value, IAsyncResultHandler<T> handler)
ISharedStateComponentpublic <T> void clearProperty(String namespace, String propertyName, IAsyncResultHandler<T> handler)
ISharedStateComponentCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.