org.apache.storm.hdfs.trident
Class HdfsState.Options
java.lang.Object
org.apache.storm.hdfs.trident.HdfsState.Options
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- HdfsState.HdfsFileOptions, HdfsState.SequenceFileOptions
- Enclosing class:
- HdfsState
public abstract static class HdfsState.Options
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fsUrl
protected String fsUrl
configKey
protected String configKey
fs
protected transient org.apache.hadoop.fs.FileSystem fs
rotationPolicy
protected FileRotationPolicy rotationPolicy
fileNameFormat
protected FileNameFormat fileNameFormat
rotation
protected int rotation
hdfsConfig
protected transient org.apache.hadoop.conf.Configuration hdfsConfig
rotationActions
protected ArrayList<RotationAction> rotationActions
writeLock
protected transient Object writeLock
rotationTimer
protected transient Timer rotationTimer
HdfsState.Options
public HdfsState.Options()
rotateOutputFile
protected void rotateOutputFile()
throws IOException
- Throws:
IOException
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.