net.sf.sparql.benchmarking.stats
Interface OperationMixRun

All Superinterfaces:
Comparable<OperationMixRun>
All Known Implementing Classes:
OperationMixRunImpl

public interface OperationMixRun
extends Comparable<OperationMixRun>

Represents a run of an operation mix which is comprised of some combination of runs of the operations in the mix

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.

Author:
rvesse

Method Summary
 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
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getRuns

Iterator<OperationRun> getRuns()
Gets an iterator over the runs that make up this operation mix

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.

Returns:
Iterator over the runs

getRuns

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.

Parameters:
id - Operation ID
Returns:
List of operation runs (possibly empty)

getRunOrder

long getRunOrder()
Gets the global run order that reflects the order in which the operation mixes and operations were run

Returns:
Global Order

getRunCount

long getRunCount()
Gets the number of operations runs that comprised this mix run

Returns:
Number of operations run

getTotalErrors

long getTotalErrors()
Gets the total number of errors for the operation mix

Returns:
Total number of errors

getTotalResults

long getTotalResults()
Gets the total number of results for the operation mix

Returns:
Total number of results

getTotalRuntime

long getTotalRuntime()
Gets the total runtime for the Operation Mix

Returns:
Total Runtime in nanoseconds

getTotalResponseTime

long getTotalResponseTime()
Gets the total response time for the Operation Mix

Returns:
Total Response Time in nanoseconds

getMinimumRuntime

long getMinimumRuntime()
Gets the runtime of the operation from the set that took the shortest time to run

Returns:
Minimum Runtime in nanoseconds

getMinimumRuntimeOperationID

int getMinimumRuntimeOperationID()
Gets the ID of the operation that took the shortest time to run

Returns:
ID of the Operation with the Minimum Runtime

getMaximumRuntime

long getMaximumRuntime()
Gets the runtime of the operation from the set that took the longest time to run

Returns:
Maximum Runtime in nanoseconds

getMaximumRuntimeOperationID

int getMaximumRuntimeOperationID()
Gets the ID of the operation that took the longest time to run

Returns:
ID of the operation with Maximum Runtime


Copyright © 2014. All Rights Reserved.