Java org.apache.hadoop.fs Trash fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.fs Trash fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.fs Trash.

The text is from its open source code.

Subclass

org.apache.hadoop.fs.Trash has subclasses.
Click this link to see all its subclasses.

Constructor

Trash(FileSystem fs, Configuration conf)
Construct a trash can accessor for the FileSystem provided.
Trash(Configuration conf)
Construct a trash can accessor.

Method

voidexpunge()
Delete old checkpoint(s).
booleanisEnabled()
Returns whether the trash is enabled for this filesystem
booleanmoveToAppropriateTrash(FileSystem fs, Path p, Configuration conf)
In case of the symlinks or mount points, one has to move the appropriate trashbin in the actual volume of the path p being deleted.
booleanmoveToTrash(Path path)
Move a file or directory to the current trash directory.