org.apache.storm.hdfs.trident
Class HdfsStateFactory
java.lang.Object
org.apache.storm.hdfs.trident.HdfsStateFactory
- All Implemented Interfaces:
- Serializable, StateFactory
public class HdfsStateFactory
- extends Object
- implements StateFactory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HdfsStateFactory
public HdfsStateFactory()
withOptions
public HdfsStateFactory withOptions(HdfsState.Options options)
makeState
public State makeState(Map conf,
IMetricsContext metrics,
int partitionIndex,
int numPartitions)
- Specified by:
makeState
in interface StateFactory
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.