public abstract class AbstractResultService extends Object implements ResultService
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 |
|---|---|
void |
getResults(ResultService.ResultHandler handler,
long startTime,
long windowSize,
long reportPeriod,
boolean chartOnly)
Get result statistics for discrete time intervals.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, countResults, countResultsByEventName, countResultsByFailure, countResultsBySuccess, getDataLocation, getEventDetails, getEventNames, getFirstResult, getLastResult, getResults, getResults, recordResultpublic void getResults(ResultService.ResultHandler handler, long startTime, long windowSize, long reportPeriod, 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.windowSize - the length (milliseconds) of a time window. This must be a multiple of the 'reportPeriod'.reportPeriod - the result time report period (milliseconds). This cannot be more than the 'windowSize'.chartOnly - true if only chartable results must be retrievedCopyright © 2005–2018 Alfresco Software. All rights reserved.