public class SetAttributeContext extends OperationContext<SetAttributePOptions.Builder,SetAttributeContext>
SetAttributePOptions
.Modifier and Type | Method and Description |
---|---|
static SetAttributeContext |
create(SetAttributePOptions.Builder optionsBuilder) |
static SetAttributeContext |
defaults() |
long |
getOperationTimeMs() |
String |
getUfsFingerprint() |
boolean |
isMetadataLoad() |
static SetAttributeContext |
mergeFrom(SetAttributePOptions.Builder optionsBuilder)
Merges and embeds the given
SetAttributePOptions with the corresponding master options. |
SetAttributeContext |
setMetadataLoad(boolean metadataLoad) |
SetAttributeContext |
setOperationTimeMs(long operationTimeMs)
Sets operation time.
|
SetAttributeContext |
setUfsFingerprint(String ufsFingerprint)
Sets ufs fingerprint.
|
String |
toString() |
getCancelledTrackers, getOperationId, getOptions, withTracker
public static SetAttributeContext create(SetAttributePOptions.Builder optionsBuilder)
optionsBuilder
- Builder for proto SetAttributePOptions
SetAttributeContext
with the given optionspublic static SetAttributeContext mergeFrom(SetAttributePOptions.Builder optionsBuilder)
SetAttributePOptions
with the corresponding master options.optionsBuilder
- Builder for proto SetAttributePOptions
to merge with defaultsSetAttributeContext
with default values for masterpublic static SetAttributeContext defaults()
SetAttributeContext
with default values for masterpublic long getOperationTimeMs()
public SetAttributeContext setOperationTimeMs(long operationTimeMs)
operationTimeMs
- operation system time in mspublic SetAttributeContext setMetadataLoad(boolean metadataLoad)
metadataLoad
- the flag value to use; if true, the operation is a result of a metadata
loadpublic boolean isMetadataLoad()
public String getUfsFingerprint()
public SetAttributeContext setUfsFingerprint(String ufsFingerprint)
ufsFingerprint
- the ufs fingerprintCopyright © 2023. All Rights Reserved.