| Package | Description |
|---|---|
| org.apache.mesos.state |
| Modifier and Type | Method and Description |
|---|---|
Variable |
Variable.mutate(byte[] value)
Updates the current value of this variable.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Variable> |
State.fetch(String name)
Returns an immutable "variable" representing the current value
from the state associated with the specified name.
|
Future<Variable> |
InMemoryState.fetch(String name) |
Future<Variable> |
AbstractState.fetch(String name) |
Future<Variable> |
State.store(Variable variable)
Returns an immutable "variable" representing the current value in
the state if updating the specified variable in the state was
successful, otherwise returns null.
|
Future<Variable> |
InMemoryState.store(Variable v) |
Future<Variable> |
AbstractState.store(Variable variable) |
| Modifier and Type | Method and Description |
|---|---|
Future<Boolean> |
State.expunge(Variable variable)
Returns true if successfully expunged the variable from the state
or false if the variable did not exist or was no longer valid.
|
Future<Boolean> |
InMemoryState.expunge(Variable v) |
Future<Boolean> |
AbstractState.expunge(Variable variable) |
Future<Variable> |
State.store(Variable variable)
Returns an immutable "variable" representing the current value in
the state if updating the specified variable in the state was
successful, otherwise returns null.
|
Future<Variable> |
InMemoryState.store(Variable v) |
Future<Variable> |
AbstractState.store(Variable variable) |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.