Create a group of event handlers/processors to be used as a dependency.
Create a group of event handlers/processors to be used as a dependency.
Create a new event handler group that combines the consumers in this group with otherHandlerGroup.
Create a new event handler group that combines the consumers in this group with otherHandlerGroup.
(as-sequence-barrier group)
Create a dependency barrier for the processors in this group.
Create a dependency barrier for the processors in this group.
(create-disruptor event-factory size exec)
(create-disruptor event-factory size exec producer-type wait-strategy)
Create a new disruptor pattern
Create a new disruptor pattern
(get-barrier-for disruptor handler)
Get the SequenceBarrier used by a specific handler.
Get the SequenceBarrier used by a specific handler.
(get-ring-buffer disruptor)
The RingBuffer used by this Disruptor.
The RingBuffer used by this Disruptor.
(halt disruptor)
Calls EvenProcessor.halt() on all of the event processors created via this Disruptor.
Calls EvenProcessor.halt() on all of the event processors created via this Disruptor.
Set up batch handlers to handle events from the ring buffer.
Set up batch handlers to handle events from the ring buffer.
Set up a worker pool to handle events from the ring buffer.
Set up a worker pool to handle events from the ring buffer.
(handle-exceptions-with disruptor exception-handler)
Specify an exception handler to be used for any future event handlers.
Note that only event handlers set up after calling this method will use the exception handler.
Specify an exception handler to be used for any future event handlers. Note that only event handlers set up after calling this method will use the exception handler.
(shutdown disruptor)
Waits until all events currently in the disruptor have been processed by all event processors and then halts the processors.
Waits until all events currently in the disruptor have been processed by all event processors and then halts the processors.
(start disruptor)
Starts the event processors and returns the fully configured RingBuffer. The RingBuffer is set up to prevent overwriting any entry that is yet to be processed by the slowest event processor. This method must only be called one after all the event processors have been added.
Starts the event processors and returns the fully configured RingBuffer. The RingBuffer is set up to prevent overwriting any entry that is yet to be processed by the slowest event processor. This method must only be called one after all the event processors have been added.
(then group & handlers)
Set up batch handlers to consume events from the ring buffer.
Set up batch handlers to consume events from the ring buffer.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close