Package org.apache.hadoop.ozone.om
Class OzoneTrash
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.Trash
org.apache.hadoop.ozone.om.OzoneTrash
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
public class OzoneTrash
extends org.apache.hadoop.fs.Trash
OzoneTrash which takes an OM as parameter .
-
Constructor Summary
ConstructorsConstructorDescriptionOzoneTrash(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, OzoneManager om) -
Method Summary
Methods inherited from class org.apache.hadoop.fs.Trash
checkpoint, expunge, expungeImmediately, getCurrentTrashDir, isEnabled, moveToAppropriateTrash, moveToTrashMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Constructor Details
-
OzoneTrash
public OzoneTrash(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, OzoneManager om) throws IOException - Throws:
IOException
-
-
Method Details
-
getEmptier
- Overrides:
getEmptierin classorg.apache.hadoop.fs.Trash- Throws:
IOException
-