Class MoveFileAction
java.lang.Object
org.apache.storm.hdfs.common.rotation.MoveFileAction
- All Implemented Interfaces:
Serializable
,RotationAction
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path filePath) toDestination
(String destDir)
-
Constructor Details
-
MoveFileAction
public MoveFileAction()
-
-
Method Details
-
toDestination
-
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
-