class VardanERSAP.CrateAggregatingConsumer
extends java.lang.Thread
| Modifier and Type | Field and Description | 
|---|---|
| (package private) long | getOutSequenceCurrent spot in output ring from which an item was claimed. | 
| (package private) java.nio.ByteBuffer[] | inputItemsArray to store items obtained from both the crate (input) rings. | 
| (package private) java.nio.ByteBuffer[] | outputItemsArray to store items obtained from both the output ring. | 
| Constructor and Description | 
|---|
| CrateAggregatingConsumer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | get()Get the next available item from each crate 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, yieldjava.nio.ByteBuffer[] inputItems
java.nio.ByteBuffer[] outputItems
long getOutSequence
public void 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