public static final class FuseIOTaskResult.ThreadCountResult extends Object
Constructor and Description |
---|
ThreadCountResult()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addErrorMessage(String errMessage) |
long |
getDurationMs() |
long |
getEndMs() |
List<String> |
getErrors() |
long |
getIOBytes() |
float |
getIOMBps() |
long |
getRecordStartMs() |
void |
incrementIOBytes(long ioBytes)
Increments the bytes of IO an amount.
|
void |
merge(FuseIOTaskResult.ThreadCountResult result)
Merges (updates) a result with this result.
|
void |
setDurationMs(long durationMs) |
void |
setEndMs(long endMs) |
void |
setErrors(List<String> errors) |
void |
setIOBytes(long ioBytes) |
void |
setIOMBps(float ioMBps) |
void |
setRecordStartMs(long recordStartMs) |
public void merge(FuseIOTaskResult.ThreadCountResult result)
result
- the result to mergepublic 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.