public class DataRequestThread extends Thread
DataSource
, channel name and
TimeInterval
. Polls chunks from the source until the
Timestamp
of the last received Data
is superior to the end of
the defined TimeInterval
.Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DataRequestThread(String channelName,
DataSource source,
org.epics.util.time.TimeInterval interval) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(DataRequestListener l)
Add a
DataRequestListener . |
String |
getChannelName() |
org.epics.util.time.TimeInterval |
getInterval() |
org.epics.util.time.Timestamp |
getLastReceived() |
DataSource |
getSource() |
void |
removeListener(DataRequestListener l)
Remove a
DataRequestListener . |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public DataRequestThread(String channelName, DataSource source, org.epics.util.time.TimeInterval interval) throws Exception
Exception
public void addListener(DataRequestListener l)
DataRequestListener
.public void removeListener(DataRequestListener l)
DataRequestListener
.public String getChannelName()
public DataSource getSource()
public org.epics.util.time.TimeInterval getInterval()
public org.epics.util.time.Timestamp getLastReceived()
Copyright © 2010–2015. All rights reserved.