Package org.apache.storm.trident.testing
Class LRUMemoryMapState.Factory
- java.lang.Object
-
- org.apache.storm.trident.testing.LRUMemoryMapState.Factory
-
- All Implemented Interfaces:
Serializable
,StateFactory
- Enclosing class:
- LRUMemoryMapState<T>
public static class LRUMemoryMapState.Factory extends Object implements StateFactory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Factory(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description State
makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
-
-
-
Method Detail
-
makeState
public State makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
- Specified by:
makeState
in interfaceStateFactory
-
-