|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.stats.impl.OperationMixRunImpl
public class OperationMixRunImpl
Implementation of an operation mix run
Field Summary | |
---|---|
protected long |
order
|
protected List<OperationRun> |
runs
|
Constructor Summary | |
---|---|
OperationMixRunImpl(Collection<OperationRun> runs,
long runOrder)
Creates a new operation mix run which represents the results of running a mix of operations |
Method Summary | |
---|---|
int |
compareTo(OperationMixRun other)
Compares one run to another |
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<OperationRun> runs
protected long order
Constructor Detail |
---|
public OperationMixRunImpl(Collection<OperationRun> runs, long runOrder)
runs
- Operation runs which make up this mix runrunOrder
- Global Run OrderMethod Detail |
---|
public Iterator<OperationRun> getRuns()
OperationMixRun
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.
getRuns
in interface OperationMixRun
public List<OperationRun> getRuns(int id)
OperationMixRun
getRuns
in interface OperationMixRun
id
- Operation ID
public long getRunCount()
OperationMixRun
getRunCount
in interface OperationMixRun
public long getRunOrder()
OperationMixRun
getRunOrder
in interface OperationMixRun
public long getTotalErrors()
OperationMixRun
getTotalErrors
in interface OperationMixRun
public long getTotalResults()
OperationMixRun
getTotalResults
in interface OperationMixRun
public long getTotalRuntime()
OperationMixRun
getTotalRuntime
in interface OperationMixRun
public long getTotalResponseTime()
OperationMixRun
getTotalResponseTime
in interface OperationMixRun
public long getMinimumRuntime()
OperationMixRun
getMinimumRuntime
in interface OperationMixRun
public int getMinimumRuntimeOperationID()
OperationMixRun
getMinimumRuntimeOperationID
in interface OperationMixRun
public long getMaximumRuntime()
OperationMixRun
getMaximumRuntime
in interface OperationMixRun
public int getMaximumRuntimeOperationID()
OperationMixRun
getMaximumRuntimeOperationID
in interface OperationMixRun
public int compareTo(OperationMixRun other)
Used for sorting the runs so that outliers can be trimmed
compareTo
in interface Comparable<OperationMixRun>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |