public interface OperationMixRun extends Comparable<OperationMixRun>
Depending on the OperationMixRunner
being used an
OperationMixRun
may not contain OperationRun
information for
every operation since it may not run all operations, equally some operations
may have been run multiple times.
Modifier and Type | Method and Description |
---|---|
long |
getMaximumRuntime()
Gets the runtime of the operation from the set that took the longest time
to run
|
int |
getMaximumRuntimeOperationID()
Gets the ID of the operation that took the longest time to run
|
long |
getMinimumRuntime()
Gets the runtime of the operation from the set that took the shortest
time to run
|
int |
getMinimumRuntimeOperationID()
Gets the ID of the operation that took the shortest time to run
|
long |
getRunCount()
Gets the number of operations runs that comprised this mix run
|
long |
getRunOrder()
Gets the global run order that reflects the order in which the operation
mixes and operations were run
|
Iterator<OperationRun> |
getRuns()
Gets an iterator over the runs that make up this operation mix
|
List<OperationRun> |
getRuns(int id)
Gets the list of run information for the given operation ID, if there are
no runs for that given operation within this mix run then an empty list
is returned.
|
long |
getTotalErrors()
Gets the total number of errors for the operation mix
|
long |
getTotalResponseTime()
Gets the total response time for the Operation Mix
|
long |
getTotalResults()
Gets the total number of results for the operation mix
|
long |
getTotalRuntime()
Gets the total runtime for the Operation Mix
|
compareTo
Iterator<OperationRun> getRuns()
Implementations need not make any guarantee that the runs are returned in
any specific order, users should not rely on the order
of runs in order to look up their associated operations. The recommended
way to do this is to use the OperationRun.getId()
to obtain the
ID of the associated operation and then call
OperationMix.getOperation(int)
to look up the actual operation.
List<OperationRun> getRuns(int id)
id
- Operation IDlong getRunOrder()
long getRunCount()
long getTotalErrors()
long getTotalResults()
long getTotalRuntime()
long getTotalResponseTime()
long getMinimumRuntime()
int getMinimumRuntimeOperationID()
long getMaximumRuntime()
int getMaximumRuntimeOperationID()
Copyright © 2015. All rights reserved.