public final class MultiOperationMasterBenchTaskResult extends MasterBenchTaskResultBase<MultiOperationMasterBenchParameters>
mBaseParameters, mDurationMs, mEndMs, mErrors, mParameters, mRecordStartMsCLASS_NAME_FIELD| Constructor and Description |
|---|
MultiOperationMasterBenchTaskResult()
Empty constructor for json deserialization.
|
MultiOperationMasterBenchTaskResult(Operation[] operations)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
alluxio.stress.master.MultiOperationMasterBenchTaskResult.Aggregator |
aggregator() |
java.util.List<MasterBenchTaskResultStatistics> |
getAllStatistics() |
long |
getNumSuccessOperations() |
MasterBenchTaskResultStatistics |
getStatistics(int operationIndex) |
java.util.Map<java.lang.String,MasterBenchTaskResultStatistics> |
getStatisticsPerMethod() |
void |
incrementNumSuccess(int operationIndex,
long numSuccess)
Increments the number of successes by an amount.
|
void |
putStatisticsForMethod(java.lang.String method,
MasterBenchTaskResultStatistics statistics) |
addErrorMessage, aggregateByWorker, getBaseParameters, getDurationMs, getEndMs, getErrors, getParameters, getRecordStartMs, merge, setBaseParameters, setDurationMs, setEndMs, setErrors, setParameters, setRecordStartMsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromJson, fromJson, getClassName, setClassName, toJsonpublic MultiOperationMasterBenchTaskResult(Operation[] operations)
operations - the operationspublic MultiOperationMasterBenchTaskResult()
public void incrementNumSuccess(int operationIndex,
long numSuccess)
operationIndex - the operation indexnumSuccess - the amount to increment bypublic MasterBenchTaskResultStatistics getStatistics(int operationIndex)
operationIndex - the operation indexpublic java.util.List<MasterBenchTaskResultStatistics> getAllStatistics()
public java.util.Map<java.lang.String,MasterBenchTaskResultStatistics> getStatisticsPerMethod()
public void putStatisticsForMethod(java.lang.String method,
MasterBenchTaskResultStatistics statistics)
putStatisticsForMethod in class MasterBenchTaskResultBase<MultiOperationMasterBenchParameters>method - the name of the method to insert statistics forstatistics - the statistics for the methodpublic alluxio.stress.master.MultiOperationMasterBenchTaskResult.Aggregator aggregator()
public long getNumSuccessOperations()
Copyright © 2023. All Rights Reserved.