public class ValueEventProcessor extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected com.lmax.disruptor.RingBuffer<EventResultDisruptor> |
ringBuffer |
| 构造器和说明 |
|---|
ValueEventProcessor(com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
com.lmax.disruptor.RingBuffer<EventResultDisruptor> |
getRingBuffer() |
long |
getWaitAtSequence() |
void |
send(Object result) |
void |
setWaitAtSequence(long waitAtSequence) |
EventResultDisruptor |
waitFor() |
EventResultDisruptor |
waitForBlocking()
not really block, the waiting time is longer than not block.
|
protected final com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer
public ValueEventProcessor(com.lmax.disruptor.RingBuffer<EventResultDisruptor> ringBuffer)
public void send(Object result)
public EventResultDisruptor waitFor()
public EventResultDisruptor waitForBlocking()
public long getWaitAtSequence()
public void setWaitAtSequence(long waitAtSequence)
public void clear()
public com.lmax.disruptor.RingBuffer<EventResultDisruptor> getRingBuffer()
Copyright © 2018. All rights reserved.