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
-
-
Constructor Summary
Constructors Constructor Description MoveFileAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path filePath)
MoveFileAction
toDestination(String destDir)
-
-
-
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 interfaceRotationAction
- Throws:
IOException
-
-