public class AzureBlobFileSystem.ResilientCommitByRenameImpl extends Object implements ResilientCommitByRename
| Constructor and Description |
|---|
ResilientCommitByRenameImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.lang3.tuple.Pair<Boolean,Duration> |
commitSingleFileByRename(org.apache.hadoop.fs.Path source,
org.apache.hadoop.fs.Path dest,
String sourceEtag)
Perform the rename.
|
public org.apache.commons.lang3.tuple.Pair<Boolean,Duration> commitSingleFileByRename(org.apache.hadoop.fs.Path source, org.apache.hadoop.fs.Path dest, @Nullable String sourceEtag) throws IOException
commitSingleFileByRename in interface ResilientCommitByRenamesource - path to source filedest - destination of rename.sourceEtag - etag of source file. may be null or emptyIOException - any rename failure which was not recovered from.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.