Skip to content

Package level Java doc is outdated. #509

Description

@franzwong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions