public abstract class Buffer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.lmax.disruptor.RingBuffer<MessageEvent> |
ringBuffer |
protected int |
ringBufferSize |
| Constructor and Description |
|---|
Buffer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
afterInsert(int n) |
long |
getRemainingCapacity() |
int |
getRingBufferSize() |
long |
getUsage() |
protected com.lmax.disruptor.WaitStrategy |
getWaitStrategy(String waitStrategyName,
String configOptionName) |
protected void |
insert(Message message) |
protected void |
insert(Message[] messages) |
boolean |
isEmpty() |
protected com.lmax.disruptor.RingBuffer<MessageEvent> ringBuffer
protected int ringBufferSize
public boolean isEmpty()
public long getRemainingCapacity()
public int getRingBufferSize()
public long getUsage()
protected void insert(Message message)
protected com.lmax.disruptor.WaitStrategy getWaitStrategy(String waitStrategyName, String configOptionName)
protected abstract void afterInsert(int n)
protected void insert(Message[] messages)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.