public enum StateRequestType extends Enum<StateRequestType>
Enum Constant and Description |
---|
CLEAR
Clear the current partition of the state,
State.asyncClear() . |
ITERATOR_LOADING
Continuously load elements for one iterator.
|
LIST_ADD
Add value to list state,
AppendingState.asyncAdd(Object) . |
LIST_ADD_ALL
Add multiple value to list of current partition,
ListState.asyncAddAll(List) . |
LIST_GET
Get from list state,
AppendingState.asyncGet() . |
LIST_UPDATE
Put a list to current partition,
ListState.asyncUpdate(List) . |
MAP_CONTAINS
Check key existence of current partition,
MapState.asyncContains(Object) }. |
MAP_GET
Get a value by a key from current partition,
MapState.asyncGet(Object) . |
MAP_IS_EMPTY
Check the existence of any key-value mapping within current partition,
MapState.asyncIsEmpty() . |
MAP_ITER
Get an iterator of key-value mapping within current partition,
MapState.asyncEntries() . |
MAP_ITER_KEY
Get an iterator of keys within current partition,
MapState.asyncKeys() . |
MAP_ITER_VALUE
Get an iterator of values within current partition,
MapState.asyncKeys() . |
MAP_PUT
Update a key-value pair of current partition,
MapState.asyncPut(Object, Object) . |
MAP_PUT_ALL
Update multiple key-value pairs of current partition,
MapState.asyncPutAll(Map) . |
MAP_REMOVE
Remove a key-value mapping within current partition,
MapState.asyncRemove(Object) . |
REDUCING_ADD
Add element into reducing state,
AppendingState.asyncAdd(Object) . |
REDUCING_GET
Get from reducing state,
AppendingState.asyncGet() . |
SYNC_POINT
A sync point with AEC, does nothing with state, checking if the key is occupied by others and
blocking if needed.
|
VALUE_GET
Get value from current partition,
ValueState.asyncValue() . |
VALUE_UPDATE
Update value to current partition,
ValueState.asyncUpdate(Object) . |
Modifier and Type | Method and Description |
---|---|
static StateRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateRequestType SYNC_POINT
public static final StateRequestType CLEAR
State.asyncClear()
.public static final StateRequestType VALUE_GET
ValueState.asyncValue()
.public static final StateRequestType VALUE_UPDATE
ValueState.asyncUpdate(Object)
.public static final StateRequestType LIST_GET
AppendingState.asyncGet()
.public static final StateRequestType LIST_ADD
AppendingState.asyncAdd(Object)
.public static final StateRequestType LIST_UPDATE
ListState.asyncUpdate(List)
.public static final StateRequestType LIST_ADD_ALL
ListState.asyncAddAll(List)
.public static final StateRequestType MAP_GET
MapState.asyncGet(Object)
.public static final StateRequestType MAP_CONTAINS
MapState.asyncContains(Object)
}.public static final StateRequestType MAP_PUT
MapState.asyncPut(Object, Object)
.public static final StateRequestType MAP_PUT_ALL
MapState.asyncPutAll(Map)
.public static final StateRequestType MAP_ITER
MapState.asyncEntries()
.public static final StateRequestType MAP_ITER_KEY
MapState.asyncKeys()
.public static final StateRequestType MAP_ITER_VALUE
MapState.asyncKeys()
.public static final StateRequestType MAP_REMOVE
MapState.asyncRemove(Object)
.public static final StateRequestType MAP_IS_EMPTY
MapState.asyncIsEmpty()
.public static final StateRequestType ITERATOR_LOADING
public static final StateRequestType REDUCING_GET
AppendingState.asyncGet()
.public static final StateRequestType REDUCING_ADD
AppendingState.asyncAdd(Object)
.public static StateRequestType[] values()
for (StateRequestType c : StateRequestType.values()) System.out.println(c);
public static StateRequestType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.