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<Void> handler)
Clears/removes a property from the shared state environment.
|
<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<Void> handler)
Sets a single property in the shared state environment.
|
public <T> void getProperty(String namespace, String propertyName, T defaultValue, IAsyncResultHandler<T> handler)
ISharedStateComponentpublic <T> void setProperty(String namespace, String propertyName, T value, IAsyncResultHandler<Void> handler)
ISharedStateComponentpublic <T> void clearProperty(String namespace, String propertyName, IAsyncResultHandler<Void> handler)
ISharedStateComponentCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.