| Constructor and Description |
|---|
InMemoryState() |
| Modifier and Type | Method and Description |
|---|---|
Future<Boolean> |
expunge(Variable v)
Returns true if successfully expunged the variable from the state
or false if the variable did not exist or was no longer valid.
|
Future<Variable> |
fetch(String name)
Returns an immutable "variable" representing the current value
from the state associated with the specified name.
|
Future<Iterator<String>> |
names()
Returns an iterator of variable names in the state.
|
Future<Variable> |
store(Variable v)
Returns an immutable "variable" representing the current value in
the state if updating the specified variable in the state was
successful, otherwise returns null.
|
public Future<Variable> fetch(String name)
Statepublic Future<Variable> store(Variable v)
Statepublic Future<Boolean> expunge(Variable v)
StateCopyright © 2014 The Apache Software Foundation. All Rights Reserved.