public final class MultiOperationMasterBenchTaskResult extends MasterBenchTaskResultBase<MultiOperationMasterBenchParameters>
mBaseParameters, mDurationMs, mEndMs, mErrors, mParameters, mRecordStartMs
CLASS_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() |
List<MasterBenchTaskResultStatistics> |
getAllStatistics() |
long |
getNumSuccessOperations() |
MasterBenchTaskResultStatistics |
getStatistics(int operationIndex) |
Map<String,MasterBenchTaskResultStatistics> |
getStatisticsPerMethod() |
void |
incrementNumSuccess(int operationIndex,
long numSuccess)
Increments the number of successes by an amount.
|
void |
putStatisticsForMethod(String method,
MasterBenchTaskResultStatistics statistics) |
addErrorMessage, aggregateByWorker, getBaseParameters, getDurationMs, getEndMs, getErrors, getParameters, getRecordStartMs, merge, setBaseParameters, setDurationMs, setEndMs, setErrors, setParameters, setRecordStartMs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public 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 List<MasterBenchTaskResultStatistics> getAllStatistics()
public Map<String,MasterBenchTaskResultStatistics> getStatisticsPerMethod()
public void putStatisticsForMethod(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.