code: @Override
  	public long getPending() {
  		long nextValue = this.nextValue;
  
  		long consumed = RingBuffer.getMinimumSequence(gatingSequences, nextValue);
  		long produced = nextValue;
  		return produced - consumed;
  	}
docs: See {@code RingBufferProducer.producerCapacity()}.