Constructor and Description |
---|
StreamingListenerBus() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(StreamingListener listener) |
Thread |
listenerThread() |
void |
post(StreamingListenerEvent event) |
void |
start() |
void |
stop() |
boolean |
waitUntilEmpty(int timeoutMillis)
Waits until there are no more events in the queue, or until the specified time has elapsed.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public Thread listenerThread()
public void start()
public void addListener(StreamingListener listener)
public void post(StreamingListenerEvent event)
public boolean waitUntilEmpty(int timeoutMillis)
public void stop()