Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MessageQueueReader(IQueueEntryHandler<T> handler,
IMessageQueue<T> queue)
Instantiates a new Message queue reader.
|
MessageQueueReader(IQueueEntryHandler<T> handler,
IMessageQueue<T> queue,
int pullMaxElements)
Instantiates a new Message queue reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel.
|
IQueueEntryHandler<T> |
getHandler()
Gets handler.
|
IMessageQueue<T> |
getQueue()
Gets queue.
|
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, yieldpublic MessageQueueReader(IQueueEntryHandler<T> handler, IMessageQueue<T> queue)
handler - the handlerqueue - the queuepublic MessageQueueReader(IQueueEntryHandler<T> handler, IMessageQueue<T> queue, int pullMaxElements)
handler - the handlerqueue - the queuepullMaxElements - the pull max elementspublic IMessageQueue<T> getQueue()
public IQueueEntryHandler<T> getHandler()
public void cancel()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.