Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SendThread(String hash,
Consumer<Abk> resultListener,
SendThreadPool sendThreadPool)
Instantiates a new Send thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Wait for result or timeout, using busy wait
|
void |
setAbk(Abk abk)
Set the result for this thread
|
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 SendThread(String hash, Consumer<Abk> resultListener, SendThreadPool sendThreadPool)
hash - the hashresultListener - the result listenersendThreadPool - the send thread poolCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.