Liking cljdoc? Tell your friends :D

phaser.dsl


aftercljmultimethod

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.
sourceraw docstring

andcljmultimethod

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.
sourceraw docstring

as-sequence-barrierclj

(as-sequence-barrier group)

Create a dependency barrier for the processors in this group.

Create a dependency barrier for the processors in this group.
sourceraw docstring

create-disruptorclj

(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
sourceraw docstring

get-barrier-forclj

(get-barrier-for disruptor handler)

Get the SequenceBarrier used by a specific handler.

Get the SequenceBarrier used by a specific handler.
sourceraw docstring

get-ring-bufferclj

(get-ring-buffer disruptor)

The RingBuffer used by this Disruptor.

The RingBuffer used by this Disruptor.
sourceraw docstring

haltclj

(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.
sourceraw docstring

handle-events-withcljmultimethod

Set up batch handlers to handle events from the ring buffer.

Set up batch handlers to handle events from the ring buffer.
sourceraw docstring

handle-events-with-worker-poolcljmultimethod

Set up a worker pool to handle events from the ring buffer.

Set up a worker pool to handle events from the ring buffer.
sourceraw docstring

handle-exceptions-withclj

(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.
sourceraw docstring

shutdownclj

(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.
sourceraw docstring

startclj

(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.
sourceraw docstring

thenclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close