# Uses of Interface
org.apache.storm.hdfs.bolt.rotation.FileRotationPolicy

Packages that use FileRotationPolicy
Package
Description
org.apache.storm.hdfs.bolt
org.apache.storm.hdfs.bolt.rotation
org.apache.storm.hdfs.common

- ## Uses of FileRotationPolicy in org.apache.storm.hdfs.bolt

  Fields in org.apache.storm.hdfs.bolt declared as FileRotationPolicy
  Modifier and Type
  Field
  Description
  `protected FileRotationPolicy`
  AbstractHdfsBolt.`rotationPolicy`
  Methods in org.apache.storm.hdfs.bolt with parameters of type FileRotationPolicy
  Modifier and Type
  Method
  Description
  `AvroGenericRecordBolt`
  AvroGenericRecordBolt.`withRotationPolicy(FileRotationPolicy rotationPolicy)`
  `HdfsBolt`
  HdfsBolt.`withRotationPolicy(FileRotationPolicy rotationPolicy)`
  `SequenceFileBolt`
  SequenceFileBolt.`withRotationPolicy(FileRotationPolicy rotationPolicy)`

- ## Uses of FileRotationPolicy in org.apache.storm.hdfs.bolt.rotation

  Classes in org.apache.storm.hdfs.bolt.rotation that implement FileRotationPolicy
  Modifier and Type
  Class
  Description
  `class`
  `FileSizeRotationPolicy`
  File rotation policy that will rotate files when a certain file size is reached.
  `class`
  `NoRotationPolicy`
  File rotation policy that will never rotate...
  `class`
  `TimedRotationPolicy`
  Methods in org.apache.storm.hdfs.bolt.rotation that return FileRotationPolicy
  Modifier and Type
  Method
  Description
  `FileRotationPolicy`
  FileRotationPolicy.`copy()`
  Must be able to copy the rotation policy.
  `FileRotationPolicy`
  FileSizeRotationPolicy.`copy()`
  `FileRotationPolicy`
  NoRotationPolicy.`copy()`
  `FileRotationPolicy`
  TimedRotationPolicy.`copy()`

- ## Uses of FileRotationPolicy in org.apache.storm.hdfs.common

  Fields in org.apache.storm.hdfs.common declared as FileRotationPolicy
  Modifier and Type
  Field
  Description
  `protected final FileRotationPolicy`
  AbstractHDFSWriter.`rotationPolicy`
  Constructors in org.apache.storm.hdfs.common with parameters of type FileRotationPolicy
  Modifier
  Constructor
  Description
  ``
  `AbstractHDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path)`
  ``
  `AvroGenericRecordHDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream stream, org.apache.avro.Schema schema)`
  ``
  `HDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream out, RecordFormat format)`
  ``
  `SequenceFileWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.io.SequenceFile.Writer writer, SequenceFormat format)`