Package org.apache.storm.trident.testing
Class MemoryMapState<T>
java.lang.Object
org.apache.storm.trident.testing.MemoryMapState<T>
- All Implemented Interfaces:
ITupleCollection
,MapState<T>
,ReadOnlyMapState<T>
,RemovableMapState<T>
,ReadOnlySnapshottable<T>
,Snapshottable<T>
,State
- Direct Known Subclasses:
DebugMemoryMapState
public class MemoryMapState<T>
extends Object
implements Snapshottable<T>, ITupleCollection, MapState<T>, RemovableMapState<T>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginCommit
(Long txid) void
get()
void
void
multiRemove
(List<List<Object>> keys) multiUpdate
(List<List<Object>> keys, List<ValueUpdater> updaters) void
update
(ValueUpdater updater)
-
Constructor Details
-
MemoryMapState
-
-
Method Details
-
update
- Specified by:
update
in interfaceSnapshottable<T>
-
set
- Specified by:
set
in interfaceSnapshottable<T>
-
get
- Specified by:
get
in interfaceReadOnlySnapshottable<T>
-
beginCommit
- Specified by:
beginCommit
in interfaceState
-
commit
-
getTuples
- Specified by:
getTuples
in interfaceITupleCollection
-
multiUpdate
- Specified by:
multiUpdate
in interfaceMapState<T>
-
multiPut
-
multiGet
- Specified by:
multiGet
in interfaceReadOnlyMapState<T>
-
multiRemove
- Specified by:
multiRemove
in interfaceRemovableMapState<T>
-