Package org.apache.hadoop.fs.s3a.impl
Interface MkdirOperation.MkdirCallbacks
- All Known Implementing Classes:
S3AFileSystem.MkdirOperationCallbacksImpl
- Enclosing class:
- MkdirOperation
public static interface MkdirOperation.MkdirCallbacks
Callbacks used by mkdir.
-
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.
-
Method Details
-
probePathStatus
@RetryTranslated S3AFileStatus probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) throws IOException Get the status of a path.- Parameters:
path- path to probe.probes- probes to exec- Returns:
- the status
- Throws:
IOException- failure
-
createFakeDirectory
Create a fake directory, always ending in "/". Retry policy: retrying; translated.- Parameters:
dir- dir to create- Throws:
IOException- IO failure
-