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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginCommit(Long txid) voidget()voidvoidmultiRemove(List<List<Object>> keys) multiUpdate(List<List<Object>> keys, List<ValueUpdater> updaters) voidupdate(ValueUpdater updater)
-
Constructor Details
-
MemoryMapState
-
-
Method Details
-
update
- Specified by:
updatein interfaceSnapshottable<T>
-
set
- Specified by:
setin interfaceSnapshottable<T>
-
get
- Specified by:
getin interfaceReadOnlySnapshottable<T>
-
beginCommit
- Specified by:
beginCommitin interfaceState
-
commit
-
getTuples
- Specified by:
getTuplesin interfaceITupleCollection
-
multiUpdate
- Specified by:
multiUpdatein interfaceMapState<T>
-
multiPut
-
multiGet
- Specified by:
multiGetin interfaceReadOnlyMapState<T>
-
multiRemove
- Specified by:
multiRemovein interfaceRemovableMapState<T>
-