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 SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 interface- Snapshottable<T>
 
- 
set- Specified by:
- setin interface- Snapshottable<T>
 
- 
get- Specified by:
- getin interface- ReadOnlySnapshottable<T>
 
- 
beginCommit- Specified by:
- beginCommitin interface- State
 
- 
commit
- 
getTuples- Specified by:
- getTuplesin interface- ITupleCollection
 
- 
multiUpdate- Specified by:
- multiUpdatein interface- MapState<T>
 
- 
multiPut
- 
multiGet- Specified by:
- multiGetin interface- ReadOnlyMapState<T>
 
- 
multiRemove- Specified by:
- multiRemovein interface- RemovableMapState<T>
 
 
-