Package org.apache.hadoop.fs.s3a
Class S3AFileSystem.MkdirOperationCallbacksImpl
java.lang.Object
org.apache.hadoop.fs.s3a.S3AFileSystem.MkdirOperationCallbacksImpl
- All Implemented Interfaces:
MkdirOperation.MkdirCallbacks
- Enclosing class:
- S3AFileSystem
protected class S3AFileSystem.MkdirOperationCallbacksImpl
extends Object
implements MkdirOperation.MkdirCallbacks
Callbacks from the
MkdirOperation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFakeDirectory(org.apache.hadoop.fs.Path dir) Create a fake directory, always ending in "/".probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) Get the status of a path.
-
Constructor Details
-
MkdirOperationCallbacksImpl
protected MkdirOperationCallbacksImpl()
-
-
Method Details
-
probePathStatus
public S3AFileStatus probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) throws IOException Description copied from interface:MkdirOperation.MkdirCallbacksGet the status of a path.- Specified by:
probePathStatusin interfaceMkdirOperation.MkdirCallbacks- Parameters:
path- path to probe.probes- probes to exec- Returns:
- the status
- Throws:
IOException- failure
-
createFakeDirectory
Description copied from interface:MkdirOperation.MkdirCallbacksCreate a fake directory, always ending in "/". Retry policy: retrying; translated.- Specified by:
createFakeDirectoryin interfaceMkdirOperation.MkdirCallbacks- Parameters:
dir- dir to create- Throws:
IOException- IO failure
-