com.caucho.util
Class RingValueItem<T>

java.lang.Object
  extended by com.caucho.util.RingItem
      extended by com.caucho.util.RingValueItem<T>

public final class RingValueItem<T>
extends RingItem

Item for the disruptor.


Constructor Summary
RingValueItem(int index)
           
 
Method Summary
 T getAndClearValue()
           
 void setValue(T value)
           
 
Methods inherited from class com.caucho.util.RingItem
clearRingValue, getIndex, getRingValue, isRingValue, nextRingValue, setRingValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RingValueItem

public RingValueItem(int index)
Method Detail

setValue

public final void setValue(T value)

getAndClearValue

public final T getAndClearValue()