#509·disruptor

Package level Java doc is outdated.

Author: franzwongCreated Mar 16, 2026Updated Jun 29, 2026

Describe the bug

The code example on the Java doc (Package com.lmax.disruptor) is outdated.

RingBuffer no longer has public constructor.

RingBuffer<ValueEvent> ringBuffer =
     new RingBuffer<ValueEvent>(ValueEvent.EVENT_FACTORY,
                                new SingleThreadedClaimStrategy(BUFFER_SIZE),
                                new SleepingWaitStrategy());

To Reproduce N/A

Expected behavior We either remove or update it.

Desktop (please complete the following information): N/A

Additional context None