public void addRecord(NamedQueuePayload namedQueuePayload) {
    RingBuffer<RingBufferEnvelope> ringBuffer = this.disruptor.getRingBuffer();
    long seqId = ringBuffer.next();
    try {
      ringBuffer.get(seqId).load(namedQueuePayload);
    } finally {
      ringBuffer.publish(seqId);
    }
  }
Add various NamedQueue records to ringbuffer. Based on the type of the event (e.g slowLog),
consumer of disruptor ringbuffer will have specific logic. This method is producer of disruptor
ringbuffer which is initialized in NamedQueueRecorder constructor.
@param namedQueuePayload namedQueue payload sent by client of ring buffer service
hbase-server/src/main/java/org/apache/hadoop/hbase/namequeues/NamedQueueRecorder.java