com.jdon.async.disruptor
类 ValueEventProcessor

java.lang.Object
  继承者 com.jdon.async.disruptor.ValueEventProcessor

public class ValueEventProcessor
extends Object


字段摘要
protected  com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer
           
 
构造方法摘要
ValueEventProcessor(com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer)
           
 
方法摘要
 void clear()
           
 long getWaitAtSequence()
           
 void send(Object result)
           
 void setWaitAtSequence(long waitAtSequence)
           
 EventResultDisruptor waitFor(long timeoutforeturnResult)
           
 EventResultDisruptor waitForBlocking(long timeoutforeturnResult)
          not really block, the waiting time is longer than not block.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ringBuffer

protected com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer
构造方法详细信息

ValueEventProcessor

public ValueEventProcessor(com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer)
方法详细信息

send

public void send(Object result)

waitFor

public EventResultDisruptor waitFor(long timeoutforeturnResult)

waitForBlocking

public EventResultDisruptor waitForBlocking(long timeoutforeturnResult)
not really block, the waiting time is longer than not block.


getWaitAtSequence

public long getWaitAtSequence()

setWaitAtSequence

public void setWaitAtSequence(long waitAtSequence)

clear

public void clear()


Copyright © 2013. All Rights Reserved.