public class DelayedEventSource extends AbstractEventSource implements EventSource
caughtUpToRealtime, EVENT_LAG, EVENT_QUERY_INCREMENT, EVENT_REFRESH_INTERVAL, everCaughtUpToRealtime, increment, lag, lastQueryTime, nearRealTimeInterval, NO_DNS, refreshInterval, sleepUntilTimename, NAME_ELEMENT, RETRIES_ELEMENT| Modifier | Constructor and Description |
|---|---|
|
DelayedEventSource(org.w3c.dom.Element config) |
protected |
DelayedEventSource(TimeInterval delay,
EventSource source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkEvent(CacheEvent e) |
java.lang.String |
getDescription() |
MicroSecondTimeRange |
getEventTimeRange() |
TimeInterval |
getWaitBeforeNext()
If the source needs to wait for more events to arrive, it should return
the amount of time it wants to wait with this method.
|
boolean |
hasNext() |
CacheEvent[] |
next() |
caughtUpWithRealtime, decreaseQueryTimeWidth, getIncrement, getLag, getQueryEdge, getQueryStart, getQueryTime, getRefreshInterval, getSleepUntilTime, increaseQueryTimeWidth, isEverCaughtUpToRealtime, resetQueryTimeForLag, setIncrement, setLag, setQueryEdge, updateQueryEdgeappendToName, getFissuresNamingService, getName, getRetries, getRetryStrategy, setRetryStrategyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendToName, getName, getRetriesprotected DelayedEventSource(TimeInterval delay, EventSource source)
public DelayedEventSource(org.w3c.dom.Element config)
throws ConfigurationException
ConfigurationExceptionpublic java.lang.String getDescription()
getDescription in interface EventSourcepublic MicroSecondTimeRange getEventTimeRange()
getEventTimeRange in interface EventSourcepublic TimeInterval getWaitBeforeNext()
EventSourcegetWaitBeforeNext in interface EventSourcegetWaitBeforeNext in class AbstractEventSourcepublic boolean hasNext()
hasNext in interface EventSourcepublic CacheEvent[] next()
next in interface EventSourcepublic boolean checkEvent(CacheEvent e)