org.apache.storm.hdfs.common.rotation
Class MoveFileAction
java.lang.Object
org.apache.storm.hdfs.common.rotation.MoveFileAction
- All Implemented Interfaces:
- Serializable, RotationAction
public class MoveFileAction
- extends Object
- implements RotationAction
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveFileAction
public MoveFileAction()
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.