public class MoveFileAction extends Object implements RotationAction
Constructor and Description |
---|
MoveFileAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path filePath) |
MoveFileAction |
toDestination(String destDir) |
public MoveFileAction toDestination(String destDir)
public void execute(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path filePath) throws IOException
execute
in interface RotationAction
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.