org.apache.flume.formatter.output
Class PathManager

java.lang.Object
  extended by org.apache.flume.formatter.output.PathManager

public class PathManager
extends Object


Constructor Summary
PathManager()
           
 
Method Summary
 File getBaseDirectory()
           
 File getCurrentFile()
           
 AtomicInteger getFileIndex()
           
 long getSeriesTimestamp()
           
 File nextFile()
           
 void rotate()
           
 void setBaseDirectory(File baseDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathManager

public PathManager()
Method Detail

nextFile

public File nextFile()

getCurrentFile

public File getCurrentFile()

rotate

public void rotate()

getBaseDirectory

public File getBaseDirectory()

setBaseDirectory

public void setBaseDirectory(File baseDirectory)

getSeriesTimestamp

public long getSeriesTimestamp()

getFileIndex

public AtomicInteger getFileIndex()


Copyright © 2009-2013 Apache Software Foundation. All Rights Reserved.