public interface OperationMixStats
Modifier and Type | Method and Description |
---|---|
void |
add(OperationMixRun run)
Adds information for the given run to the statistics
|
void |
clear()
Clears all run statistics
|
long |
getActualAverageRuntime()
Gets the average actual runtime for the mix over all runs (takes into
account parallelization of operations)
|
double |
getActualOperationMixesPerHour()
Calculates the number of operation mixes per hour that could be executed
based on the
getActualAverageRuntime() |
long |
getActualRuntime()
Gets the actual runtime for the mix over all runs (takes into account
queries that run in parallel)
|
long |
getAverageResponseTime()
Gets the average response time for the mix
|
long |
getAverageRuntime()
Gets the average runtime for the mix over all runs
|
Map<Integer,List<OperationRun>> |
getCategorizedErrors()
Gets the information for all errors grouped by category
|
double |
getGeometricAverageRuntime()
Gets the average runtime for the mix over all runs (geometric mean)
|
long |
getMaximumRuntime()
Gets the maximum runtime for a mix
|
long |
getMinimumRuntime()
Gets the minimum runtime for a mix
|
double |
getOperationMixesPerHour()
Calculates the number of operation mixes per hour that could be executed
based on the average runtime of the operation mix
|
long |
getRunCount()
Gets the number of runs for which information has been recorded
|
Iterator<OperationMixRun> |
getRuns()
Gets an iterator over the operation mix runs
|
double |
getStandardDeviation()
Gets the standard deviation in mix runtime
|
ParallelTimer |
getTimer()
Gets the parallel timer used to track actual runtime
|
long |
getTotalErrors()
Gets the total number of errors over all runs
|
long |
getTotalOperations()
Gets the total number of operations run across all mix runs
|
long |
getTotalResponseTime()
Gets the total response time over all runs
|
long |
getTotalRuntime()
Gets the total runtime over all runs
|
double |
getVariance()
Gets the variance in mix runtime
|
void |
trim(int outliers)
Trims the worst and best N results
|
Iterator<OperationMixRun> getRuns()
long getRunCount()
void add(OperationMixRun run)
run
- Run informationvoid clear()
void trim(int outliers)
outliers
- Number of outliers to trimlong getTotalOperations()
long getTotalErrors()
Map<Integer,List<OperationRun>> getCategorizedErrors()
long getTotalRuntime()
long getActualRuntime()
long getTotalResponseTime()
long getAverageRuntime()
long getActualAverageRuntime()
long getAverageResponseTime()
double getGeometricAverageRuntime()
long getMinimumRuntime()
long getMaximumRuntime()
double getVariance()
double getStandardDeviation()
double getOperationMixesPerHour()
double getActualOperationMixesPerHour()
getActualAverageRuntime()
ParallelTimer getTimer()
Copyright © 2015. All rights reserved.