org.apache.storm.hdfs.trident
Class HdfsState.Options

java.lang.Object
  extended by 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

Field Summary
protected  String configKey
           
protected  FileNameFormat fileNameFormat
           
protected  org.apache.hadoop.fs.FileSystem fs
           
protected  String fsUrl
           
protected  org.apache.hadoop.conf.Configuration hdfsConfig
           
protected  int rotation
           
protected  ArrayList<RotationAction> rotationActions
           
protected  FileRotationPolicy rotationPolicy
           
protected  Timer rotationTimer
           
protected  Object writeLock
           
 
Constructor Summary
HdfsState.Options()
           
 
Method Summary
protected  void rotateOutputFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

HdfsState.Options

public HdfsState.Options()
Method Detail

rotateOutputFile

protected void rotateOutputFile()
                         throws IOException
Throws:
IOException


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.