Package org.apache.storm.hdfs.trident
Class HdfsStateFactory
java.lang.Object
org.apache.storm.hdfs.trident.HdfsStateFactory
- All Implemented Interfaces:
Serializable
,StateFactory
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeState
(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) withOptions
(HdfsState.Options options)
-
Constructor Details
-
HdfsStateFactory
public HdfsStateFactory()
-
-
Method Details
-
withOptions
-
makeState
public State makeState(Map<String, Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions) - Specified by:
makeState
in interfaceStateFactory
-