public class DelayedEventSource extends java.lang.Object implements EventSource
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() |
protected DelayedEventSource(TimeInterval delay, EventSource source)
public DelayedEventSource(org.w3c.dom.Element config) throws ConfigurationException
ConfigurationException
public java.lang.String getDescription()
getDescription
in interface EventSource
public MicroSecondTimeRange getEventTimeRange()
getEventTimeRange
in interface EventSource
public TimeInterval getWaitBeforeNext()
EventSource
getWaitBeforeNext
in interface EventSource
public boolean hasNext()
hasNext
in interface EventSource
public CacheEvent[] next()
next
in interface EventSource
public boolean checkEvent(CacheEvent e)