public static interface ResultService.ResultHandler
| Modifier and Type | Method and Description |
|---|---|
long |
getWaitTime()
Called when there are no more results to get the time to wait before polling for
more results.
|
boolean |
processResult(long fromTime,
long toTime,
Map<String,org.apache.commons.math3.stat.descriptive.DescriptiveStatistics> statsByEventName)
The callback of statistics for a given time window.
|
boolean processResult(long fromTime,
long toTime,
Map<String,org.apache.commons.math3.stat.descriptive.DescriptiveStatistics> statsByEventName)
throws Throwable
fromTime - the start of the time window (inclusive)toTime - the end of the time window (inclusive)statsByEventName - statistics for the time window keyed by event nameall - exceptions will be handledThrowablelong getWaitTime()
Copyright © 2014. All rights reserved.