org.apache.storm.hdfs.common.rotation
Class MoveFileAction

java.lang.Object
  extended by org.apache.storm.hdfs.common.rotation.MoveFileAction
All Implemented Interfaces:
Serializable, RotationAction

public class MoveFileAction
extends Object
implements RotationAction

See Also:
Serialized Form

Constructor Summary
MoveFileAction()
           
 
Method Summary
 void execute(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path filePath)
           
 MoveFileAction toDestination(String destDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveFileAction

public MoveFileAction()
Method Detail

toDestination

public MoveFileAction toDestination(String destDir)

execute

public void execute(org.apache.hadoop.fs.FileSystem fileSystem,
                    org.apache.hadoop.fs.Path filePath)
             throws IOException
Specified by:
execute in interface RotationAction
Throws:
IOException


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