Releases
4.0.0
Palmr
released this
29 Sep 14:07
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()
You can’t perform that action at this time.