public int read(MessageHandler handler) { return ringBuffer.read(handler); }
@Override public void onMessage(int msgTypeId, MutableDirectBuffer buffer, int index, int length) { while (!inputRingBuffer.write(msgTypeId, buffer, index, length)) { idleStrategy.idle(0); } }