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