public abstract class AbstractResultService extends Object implements ResultService
ResultService.EventSummary, ResultService.ResultHandler| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
AbstractResultService() |
| Modifier and Type | Method and Description |
|---|---|
TreeMap<String,ResultService.EventSummary> |
getResults(boolean chartOnly)
Build results for all events and give them back as an
event summary instance. |
void |
getResults(ResultService.ResultHandler handler,
long startTime,
String eventName,
Boolean successOrFail,
long windowSize,
boolean chartOnly)
Get result statistics for discrete time intervals.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountEventsByFailure, countEventsByName, countEventsBySuccess, getDataLocation, getEventNames, getMaxStartTime, getMinStartTime, getResults, getResults, getResults, getResultsForSession, recordResultpublic TreeMap<String,ResultService.EventSummary> getResults(boolean chartOnly)
event summary instance.getResults in interface ResultServicechartOnly - true to only summarize chartable resultspublic void getResults(ResultService.ResultHandler handler, long startTime, String eventName, Boolean successOrFail, long windowSize, boolean chartOnly)
getResults in interface ResultServicehandler - the client callback implementationstartTime - the start of the first results (inclusive, milliseconds).
The first reporting window will be moved to the first event after
this time and reset to a multiple of the windowSize.eventName - the name of the event to use or null for all event namessuccessOrFail - true for success only or false for failures (null for all)windowSize - the length (milliseconds) of a time windowchartOnly - true if only chartable results must be retrievedCopyright © 2014. All rights reserved.