public class RenameContext extends OperationContext<RenamePOptions.Builder,RenameContext>
RenamePOptions
.Modifier and Type | Method and Description |
---|---|
static RenameContext |
create(RenamePOptions.Builder optionsBuilder) |
static RenameContext |
defaults() |
OperationId |
getOperationId()
Get embedded operation id, passed via proto options.
|
long |
getOperationTimeMs() |
boolean |
getPersist() |
static RenameContext |
mergeFrom(RenamePOptions.Builder optionsBuilder)
Merges and embeds the given
RenamePOptions with the corresponding master options. |
RenameContext |
setOperationTimeMs(long operationTimeMs)
Sets operation time.
|
String |
toString() |
getCancelledTrackers, getOptions, withTracker
public static RenameContext create(RenamePOptions.Builder optionsBuilder)
optionsBuilder
- Builder for proto RenamePOptions
RenameContext
with the given optionspublic static RenameContext mergeFrom(RenamePOptions.Builder optionsBuilder)
RenamePOptions
with the corresponding master options.optionsBuilder
- Builder for proto RenamePOptions
to merge with defaultsRenameContext
with default values for masterpublic static RenameContext defaults()
RenameContext
with default values for masterpublic long getOperationTimeMs()
public boolean getPersist()
public RenameContext setOperationTimeMs(long operationTimeMs)
operationTimeMs
- operation system time in mspublic OperationId getOperationId()
OperationContext
getOperationId
in class OperationContext<RenamePOptions.Builder,RenameContext>
null
if not foundCopyright © 2023. All Rights Reserved.