Download Latest Version disruptor-4.0.0-javadoc.jar (711.0 kB)
Email in envelope

Get an email when there's a new version of LMAX Disruptor

Home / 4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
disruptor-4.0.0-javadoc.jar 2023-09-29 711.0 kB
disruptor-4.0.0-sources.jar 2023-09-29 83.8 kB
disruptor-4.0.0-javadoc.jar.asc 2023-09-29 821 Bytes
disruptor-4.0.0.jar 2023-09-29 85.7 kB
disruptor-4.0.0-sources.jar.asc 2023-09-29 821 Bytes
disruptor-4.0.0.jar.asc 2023-09-29 821 Bytes
README.md 2023-09-29 1.2 kB
Release 4.0.0.tar.gz 2023-09-29 907.1 kB
Release 4.0.0.zip 2023-09-29 1.1 MB
Totals: 9 Items   2.9 MB 0
  • Minimum Java version now 11
  • Issue [#323] - WorkerPool and WorkProcessor have been removed, no more Disruptor::handleEventsWithWorkerPool
  • Disruptor constructors using Executor have been removed. Use ThreadFactory instead.
  • Rolled up event handling extension interfaces on to EventHandler:
  • BatchStartAware
  • LifecycleAware
  • SequenceReportingEventHandler
  • FatalExceptionHandler and IgnoreExceptionHandler now use the JDK 9 Platform Logging API, i.e. System.Logger
  • Add rewind batch feature to the BatchEventProcessor
  • Add a maximum batch size argument to BatchEventProcessor
  • EventHandler::onBatchStart now gets both the batchSize as well as queueDepth (previously it had batchSize which reported queue depth)
  • Added documentation to EventPoller
  • Util::log2 throws if passed a non-positive argument
  • Deprecations
  • Deprecated ThreadHints.onSpinWait()
  • Deprecated Disruptor.handleExceptionsWith() - this had been javadoc deprecated since 2015 but not in the code
  • Removed previously deprecated methods
    • Ringbuffer.resetTo()
    • ConsumerRepository.getLastSequenceInChain()
Source: README.md, updated 2023-09-29