Package org.apache.storm.trident.testing
Class LRUMemoryMapState<T>
java.lang.Object
org.apache.storm.trident.testing.LRUMemoryMapState<T>
- All Implemented Interfaces:
- ITupleCollection,- MapState<T>,- ReadOnlyMapState<T>,- ReadOnlySnapshottable<T>,- Snapshottable<T>,- State
public class LRUMemoryMapState<T>
extends Object
implements Snapshottable<T>, ITupleCollection, MapState<T>
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbeginCommit(Long txid) voidget()voidmultiUpdate(List<List<Object>> keys, List<ValueUpdater> updaters) voidupdate(ValueUpdater updater) 
- 
Constructor Details- 
LRUMemoryMapState
 
- 
- 
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>
 
 
-