public class EventFinder extends AbstractSource implements EventSource
| Modifier and Type | Field and Description |
|---|---|
protected edu.iris.Fissures.model.TimeInterval |
increment |
protected edu.iris.Fissures.model.TimeInterval |
lag |
protected edu.iris.Fissures.model.TimeInterval |
refreshInterval |
name, NAME_ELEMENT, RETRIES_ELEMENT| Constructor and Description |
|---|
EventFinder(org.w3c.dom.Element config) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
caughtUpWithRealtime() |
java.lang.String |
getDescription() |
java.lang.String |
getDNS()
returns the DNSName of the server.
|
edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange |
getEventTimeRange() |
protected edu.iris.Fissures.model.MicroSecondDate |
getQueryEdge() |
protected edu.iris.Fissures.model.MicroSecondDate |
getQueryStart() |
protected edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange |
getQueryTime() |
edu.iris.Fissures.model.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() |
edu.sc.seis.fissuresUtil.cache.CacheEvent[] |
next() |
protected void |
processConfig(org.w3c.dom.Element config) |
protected void |
setQueryEdge(edu.iris.Fissures.model.MicroSecondDate edge)
sets the latest time queried
|
protected void |
updateQueryEdge(edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange queryTime) |
appendToName, getFissuresNamingService, getName, getRetries, getRetryStrategy, setRetryStrategyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendToName, getName, getRetriesprotected edu.iris.Fissures.model.TimeInterval increment
protected edu.iris.Fissures.model.TimeInterval lag
protected edu.iris.Fissures.model.TimeInterval refreshInterval
public EventFinder(org.w3c.dom.Element config)
throws java.lang.Exception
java.lang.Exceptionprotected void processConfig(org.w3c.dom.Element config)
throws ConfigurationException
ConfigurationExceptionpublic java.lang.String getDescription()
getDescription in interface EventSourcepublic boolean hasNext()
hasNext in interface EventSourcepublic edu.sc.seis.fissuresUtil.cache.CacheEvent[] next()
next in interface EventSourceprotected void updateQueryEdge(edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange queryTime)
public edu.iris.Fissures.model.TimeInterval getWaitBeforeNext()
EventSourcegetWaitBeforeNext in interface EventSourceprotected boolean caughtUpWithRealtime()
public edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange getEventTimeRange()
getEventTimeRange in interface EventSourceprotected edu.iris.Fissures.model.MicroSecondDate getQueryStart()
protected edu.sc.seis.fissuresUtil.time.MicroSecondTimeRange getQueryTime()
protected edu.iris.Fissures.model.MicroSecondDate getQueryEdge()
throws edu.sc.seis.fissuresUtil.database.NotFound
edu.sc.seis.fissuresUtil.database.NotFoundprotected void setQueryEdge(edu.iris.Fissures.model.MicroSecondDate edge)
public java.lang.String getDNS()
String value