Skip to content

Releases: LMAX-Exchange/disruptor

Release 4.0.0

29 Sep 14:07
95c705f
Compare
Choose a tag to compare
  • 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()

Release 4.0.0 Release Candidate 1

31 Dec 11:14
Compare
Choose a tag to compare
  • Breaking Changes
    • 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
  • Deprecated ThreadHints.onSpinWait()
  • FatalExceptionHandler and IgnoreExceptionHandler now use the JDK 9 Platform Logging API, i.e. System.Logger
  • Add rewind batch feature to the BatchEventProcessor
  • Added documentation to EventPoller

Release 3.4.4

29 Apr 18:20
a87bf42
Compare
Choose a tag to compare
  • Lazy-loading of Logger instances - See #370 & #376

Release 3.4.3

13 Apr 12:47
7045bfd
Compare
Choose a tag to compare
  • Add Automatic-Module-Name to MANIFEST.MF (#279)

Release 3.4.2

01 Sep 23:54
Compare
Choose a tag to compare
  • Fix for race condition on restart of BatchEventProcessor with 3 or more threads.

Release 3.3.11

01 Sep 23:57
Compare
Choose a tag to compare
  • Fix for race condition on restart of BatchEventProcessor with 3 or more threads.

Release 3.4.1

06 Mar 23:56
Compare
Choose a tag to compare
  • Fix race between run() and halt() on BatchEventProcessor.

Release 3.3.10

06 Mar 23:55
Compare
Choose a tag to compare
  • Fix race between run() and halt() on BatchEventProcessor.

Release 3.4.0

26 Feb 19:57
Compare
Choose a tag to compare
  • Drop support for JDK6, support JDK7 and above only.
  • Add ThreadHints.onSpinWait to all busy spins within Disruptor.
  • Increase default sleep time for LockSupport.parkNanos to prevent busy spinning.

Release 3.3.9

26 Feb 19:56
Compare
Choose a tag to compare
  • Changle SleepingWaitStrategy to use a parkNanos(100).