com.lmax:disruptor breaking changes
com.lmax:disruptor 4.0.0 (September 29, 2023) is its newest release with breaking changes, 48 of them. The first: com.lmax:disruptor 4.0.0 requires Java 11 or later. Every breaking API change we have recorded in com.lmax:disruptor on Maven Central: 48 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released September 29, 2023. Source repository
Its 4.0.0 release requires Java 11 or later. Java end of life dates.
com.lmax:disruptor 4.0.0 breaking changes
- Removed
The package now requires Java 11 or later. Code running on older Java versions must upgrade the runtime. github.com - Removed
com.lmax.disruptor.BatchEventProcessor.<init>
BatchEventProcessor.<init> was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.BatchStartAware
Event handling extension interfaces were rolled into EventHandler. Implement EventHandler instead. central.sonatype.com - Removed
com.lmax.disruptor.dsl.BasicExecutor
com.lmax.disruptor.dsl.BasicExecutor was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.dsl.Disruptor.handleEventsWithWorkerPool
Disruptor.handleEventsWithWorkerPool was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.dsl.EventHandlerGroup.handleEventsWithWorkerPool
EventHandlerGroup.handleEventsWithWorkerPool was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.dsl.EventHandlerGroup.thenHandleEventsWithWorkerPool
EventHandlerGroup.thenHandleEventsWithWorkerPool was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.EventReleaseAware
com.lmax.disruptor.EventReleaseAware was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.EventReleaser
com.lmax.disruptor.EventReleaser was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.LifecycleAware
Event handling extension interfaces were rolled into EventHandler. Implement EventHandler instead. central.sonatype.com - Removed
com.lmax.disruptor.RingBuffer.resetTo
RingBuffer.resetTo was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p1
Sequence.p1 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p2
Sequence.p2 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p3
Sequence.p3 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p4
Sequence.p4 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p5
Sequence.p5 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p6
Sequence.p6 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p7
Sequence.p7 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.Sequence.p9
Sequence.p9 was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.SequenceReportingEventHandler
Event handling extension interfaces were rolled into EventHandler. Implement EventHandler instead. central.sonatype.com - Removed
com.lmax.disruptor.TimeoutHandler
com.lmax.disruptor.TimeoutHandler was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.util.Util.getUnsafe
Util.getUnsafe was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.WorkerPool
WorkerPool is gone, and Disruptor::handleEventsWithWorkerPool no longer exists. Use the event handler methods instead. central.sonatype.com - Removed
com.lmax.disruptor.WorkHandler
com.lmax.disruptor.WorkHandler was removed in com.lmax:disruptor 4.0.0 central.sonatype.com - Removed
com.lmax.disruptor.WorkProcessor
WorkProcessor is gone, along with Disruptor::handleEventsWithWorkerPool. Use the event handler methods instead. central.sonatype.com - Removed
ConsumerRepository.getLastSequenceInChain
ConsumerRepository.getLastSequenceInChain() was previously deprecated and has now been removed. github.com - Removed
Ringbuffer.resetTo
Ringbuffer.resetTo() was previously deprecated and has now been removed. github.com - Renamed
com.lmax.disruptor.RingBuffer.isPublished
Use RingBuffer.isAvailable instead. central.sonatype.com - Behavior changed
FatalExceptionHandler
FatalExceptionHandler now uses the JDK 9 Platform Logging API, so its log output goes through System.Logger. github.com - Behavior changed
IgnoreExceptionHandler
IgnoreExceptionHandler now uses the JDK 9 Platform Logging API, so its log output goes through System.Logger. github.com - Behavior changed
Util.log2
Util::log2 now throws when given a non-positive argument. Callers passing such values must check input first. github.com - Signature changed
BatchEventProcessor
BatchEventProcessor now accepts a maximum batch size argument, so code constructing it must pass that argument. github.com - Signature changed
com.lmax.disruptor.AggregateEventHandler
Was final class AggregateEventHandler<T> implements com.lmax.disruptor.EventHandler<T>, com.lmax.disruptor.LifecycleAware; now final class AggregateEventHandler<T> implements com.lmax.disruptor.EventHandler<T>. central.sonatype.com - Signature changed
com.lmax.disruptor.dsl.Disruptor.<init>
The signature of Disruptor.<init> changed in com.lmax:disruptor 4.0.0 central.sonatype.com - Signature changed
com.lmax.disruptor.dsl.Disruptor.after
Was final com.lmax.disruptor.dsl.EventHandlerGroup<T> after(com.lmax.disruptor.EventHandler<T>...); now final com.lmax.disruptor.dsl.EventHandlerGroup<T> after(com.lmax.disruptor.EventHandlerIdentity...). central.sonatype.com - Signature changed
com.lmax.disruptor.dsl.Disruptor.getBarrierFor
Was com.lmax.disruptor.SequenceBarrier getBarrierFor(com.lmax.disruptor.EventHandler<T>); now com.lmax.disruptor.SequenceBarrier getBarrierFor(com.lmax.disruptor.EventHandlerIdentity). central.sonatype.com - Signature changed
com.lmax.disruptor.dsl.Disruptor.getSequenceValueFor
Was long getSequenceValueFor(com.lmax.disruptor.EventHandler<T>); now long getSequenceValueFor(com.lmax.disruptor.EventHandlerIdentity). central.sonatype.com - Signature changed
com.lmax.disruptor.dsl.Disruptor.handleExceptionsFor
Was com.lmax.disruptor.dsl.ExceptionHandlerSetting<T> handleExceptionsFor(com.lmax.disruptor.EventHandler<T>); now com.lmax.disruptor.dsl.ExceptionHandlerSetting<T> handleExceptionsFor(com.lmax.disruptor.EventHandlerIdentity). central.sonatype.com - Signature changed
com.lmax.disruptor.EventHandler
Was interface EventHandler<T>; now interface EventHandler<T> extends com.lmax.disruptor.EventHandlerBase<T>. central.sonatype.com - Signature changed
com.lmax.disruptor.FatalExceptionHandler.<init>
The signature of FatalExceptionHandler.<init> changed in com.lmax:disruptor 4.0.0 central.sonatype.com - Signature changed
com.lmax.disruptor.IgnoreExceptionHandler.<init>
The signature of IgnoreExceptionHandler.<init> changed in com.lmax:disruptor 4.0.0 central.sonatype.com - Signature changed
com.lmax.disruptor.Sequence.p10
Was protected long p10; now protected byte p10. central.sonatype.com - Signature changed
com.lmax.disruptor.Sequence.p11
Was protected long p11; now protected byte p11. central.sonatype.com - Signature changed
com.lmax.disruptor.Sequence.p12
Was protected long p12; now protected byte p12. central.sonatype.com - Signature changed
com.lmax.disruptor.Sequence.p13
Was protected long p13; now protected byte p13. central.sonatype.com - Signature changed
com.lmax.disruptor.Sequence.p14
Was protected long p14; now protected byte p14. central.sonatype.com - Signature changed
com.lmax.disruptor.Sequence.p15
Was protected long p15; now protected byte p15. central.sonatype.com - Signature changed
EventHandler.onBatchStart
onBatchStart now gets both batchSize and queueDepth. Previously it received only batchSize, which reported queue depth. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.