public class CompleteFileContext extends OperationContext<CompleteFilePOptions.Builder,CompleteFileContext>
CompleteFilePOptions
.Modifier and Type | Method and Description |
---|---|
static CompleteFileContext |
create(CompleteFilePOptions.Builder optionsBuilder) |
static CompleteFileContext |
defaults() |
long |
getOperationTimeMs() |
UfsStatus |
getUfsStatus() |
static CompleteFileContext |
mergeFrom(CompleteFilePOptions.Builder optionsBuilder)
Merges and embeds the given
CompleteFilePOptions with the corresponding master options. |
CompleteFileContext |
setOperationTimeMs(long operationTimeMs)
Sets operation time.
|
CompleteFileContext |
setUfsStatus(UfsStatus ufsStatus)
Sets ufs status.
|
String |
toString() |
getCancelledTrackers, getOptions, withTracker
public static CompleteFileContext create(CompleteFilePOptions.Builder optionsBuilder)
optionsBuilder
- Builder for proto CompleteFilePOptions
CompleteFileContext
with given optionspublic static CompleteFileContext mergeFrom(CompleteFilePOptions.Builder optionsBuilder)
CompleteFilePOptions
with the corresponding master options.optionsBuilder
- Builder for proto CompleteFilePOptions
to merge with defaultsCompleteFileContext
with default values for masterpublic static CompleteFileContext defaults()
CompleteFileContext
with default values for masterpublic UfsStatus getUfsStatus()
public CompleteFileContext setUfsStatus(UfsStatus ufsStatus)
ufsStatus
- ufs statuspublic long getOperationTimeMs()
public CompleteFileContext setOperationTimeMs(long operationTimeMs)
operationTimeMs
- operation system time in msCopyright © 2023. All Rights Reserved.