class VardanERSAP.OutputRingConsumer
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
getOutSequence
Current spot in output ring from which an item was claimed.
|
| Constructor and Description |
|---|
OutputRingConsumer() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
get()
Get the next available item from outupt ring buffer.
|
void |
put()
This "consumer" is also a producer for the output ring.
|
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, yieldlong getOutSequence
public java.nio.ByteBuffer get()
throws java.lang.InterruptedException
java.lang.InterruptedException - if thread interrupted.public void put()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread