public final class FuseIOTaskResult extends Object implements TaskResult
CLASS_NAME_FIELD
Constructor and Description |
---|
FuseIOTaskResult()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addErrorMessage(String errMessage) |
TaskResult.Aggregator |
aggregator() |
BaseParameters |
getBaseParameters() |
long |
getDurationMs() |
long |
getEndMs() |
List<String> |
getErrors() |
long |
getIOBytes() |
float |
getIOMBps() |
FuseIOParameters |
getParameters() |
long |
getRecordStartMs() |
void |
incrementIOBytes(long ioBytes)
Increments the bytes of IO an amount.
|
void |
merge(FuseIOTaskResult result)
Merges this thread result into the Fuse IO task result.
|
void |
setBaseParameters(BaseParameters baseParameters) |
void |
setDurationMs(long durationMs) |
void |
setEndMs(long endMs) |
void |
setErrors(List<String> errors) |
void |
setIOBytes(long ioBytes) |
void |
setIOMBps(float ioMBps) |
void |
setParameters(FuseIOParameters parameters) |
void |
setRecordStartMs(long recordStartMs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public TaskResult.Aggregator aggregator()
aggregator
in interface TaskResult
public void merge(FuseIOTaskResult result)
result
- the result to mergepublic BaseParameters getBaseParameters()
public void setBaseParameters(BaseParameters baseParameters)
baseParameters
- the base parameterspublic FuseIOParameters getParameters()
public void setParameters(FuseIOParameters parameters)
parameters
- the Fuse IO Stress Bench parameterspublic long getDurationMs()
public void setDurationMs(long durationMs)
durationMs
- the duration (in ms)public long getIOBytes()
public void incrementIOBytes(long ioBytes)
ioBytes
- the amount to increment bypublic void setIOBytes(long ioBytes)
ioBytes
- bytes of IOpublic long getRecordStartMs()
public void setRecordStartMs(long recordStartMs)
recordStartMs
- the start time (in ms)public long getEndMs()
public void setEndMs(long endMs)
endMs
- the end time (in ms)public void addErrorMessage(String errMessage)
errMessage
- the error message to addpublic float getIOMBps()
public void setIOMBps(float ioMBps)
ioMBps
- the throughput (MB / s)Copyright © 2023. All Rights Reserved.