|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.edg.info.StreamingThread
Thread that periodically initiates streaming for a single producer.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
StreamingThread(InsertableInstance streamingProducer)
Creates a new StreamingThread for the given producer. |
Method Summary | |
long |
getLastStreamDurationMillis()
|
long |
getStreamDurationMillis()
|
void |
run()
Main loop of thread. |
void |
shutdown()
Stop the streaming thread |
void |
streamChanged()
Indicates to the thread that a new consumer has arrived or more tuples have been inserted (so streaming should be initiated). |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StreamingThread(InsertableInstance streamingProducer)
streamingProducer
- Insertable producer.Method Detail |
public void streamChanged()
public void shutdown()
public void run()
public long getStreamDurationMillis()
public long getLastStreamDurationMillis()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |