Liking cljdoc? Tell your friends :D

phaser.disruptor


add-gating-sequencesclj

(add-gating-sequences rb sequences)

Add the specified gating sequences to this instance of the Disruptor. They will safely and atomically added to the list of gating sequences.

Add the specified gating sequences to this instance of the Disruptor. They
will safely and atomically added to the list of gating sequences.
sourceraw docstring

add-sequenceclj

(add-sequence sequence-group sequence)
source

create-batch-event-processorclj

(create-batch-event-processor rb barrier handler)
source

create-event-factoryclj

(create-event-factory handler)

Create an EventFactory which is called by the RingBuffer to pre-populate all the events to fill the RingBuffer.

Create an EventFactory which is called by the RingBuffer to pre-populate all
the events to fill the RingBuffer.
sourceraw docstring

create-event-handlerclj

(create-event-handler handler)

Create an EventHandler which is a callback interface for processing events as they become available in the RingBuffer.

Create an EventHandler which is a callback interface for processing events
as they become available in the RingBuffer.
sourceraw docstring

create-event-publishercljmultimethod

Returns a function that publishes events to the RingBuffer of different arity depending on which EventTranslator is being used.

Returns a function that publishes events to the RingBuffer of different arity
depending on which EventTranslator is being used.
sourceraw docstring

create-event-translatorclj

(create-event-translator handler)

Create an EventTranslator which translate (write) data representations into events claimed from the RingBuffer

Create an EventTranslator which translate (write) data representations into
events claimed from the RingBuffer
sourceraw docstring

create-event-translator-one-argclj

(create-event-translator-one-arg handler)

Create an EventTranslatorOneArg which translate (write) data representations into events claimed from the RingBuffer

Create an EventTranslatorOneArg which translate (write) data representations
into events claimed from the RingBuffer
sourceraw docstring

create-event-translator-three-argclj

(create-event-translator-three-arg handler)

Create an EventTranslatorThreeArg which translate (write) data representations into events claimed from the RingBuffer

Create an EventTranslatorThreeArg which translate (write) data
representations into events claimed from the RingBuffer
sourceraw docstring

create-event-translator-two-argclj

(create-event-translator-two-arg handler)

Create an EventTranslatorTwoArg which translate (write) data representations into events claimed from the RingBuffer

Create an EventTranslatorTwoArg which translate (write) data representations
into events claimed from the RingBuffer
sourceraw docstring

create-event-translator-var-argclj

(create-event-translator-var-arg handler)

Create an EventTranslatorVararg which translate (write) data representations into events claimed from the RingBuffer. The Handler should accept a variadic number of params

Create an EventTranslatorVararg which translate (write) data representations
into events claimed from the RingBuffer. The Handler should accept a variadic
number of params
sourceraw docstring

create-exception-handlerclj

(create-exception-handler on-event on-start on-shutdown)
source

create-multi-producerclj

(create-multi-producer factory size)
(create-multi-producer factory size strategy)
source

create-sequence-barrierclj

(create-sequence-barrier rb sequences)
source

create-single-producerclj

(create-single-producer factory size)
(create-single-producer factory size strategy)
source

create-work-handlerclj

(create-work-handler handler)

Create a WorkHandler which is for processing units of work as they become available in the RingBuffer.

Create a WorkHandler which is for processing units of work as they become
available in the RingBuffer.
sourceraw docstring

create-worker-poolclj

(create-worker-pool factory exception-handler handlers)
(create-worker-pool rb sb exception-handler handlers)
source

deffactorycljmacro

(deffactory name & args)

Define a Disruptor EventFactory which is called by the RingBuffer.

Define a Disruptor EventFactory which is called by the RingBuffer.
sourceraw docstring

defhandlercljmacro

(defhandler name & args)

Define a Disruptor event handler which is a callback interface for processing events as they become available in the RingBuffer.

Define a Disruptor event handler which is a callback interface for processing
events as they become available in the RingBuffer.
sourceraw docstring

deftranslatorcljmacro

(deftranslator name & args)

Define a Disrupter EventTranslator which translate (write) data representations into events claimed from the RingBuffer

Define a Disrupter EventTranslator which translate (write) data
representations into events claimed from the RingBuffer
sourceraw docstring

deftranslator1cljmacro

(deftranslator1 name & args)

Define a Disrupter EventTranslatorOneArg which translate (write) data representations into events claimed from the RingBuffer

Define a Disrupter EventTranslatorOneArg which translate (write) data
representations into events claimed from the RingBuffer
sourceraw docstring

deftranslator2cljmacro

(deftranslator2 name & args)

Define a Disrupter EventTranslatorTwoArg which translate (write) data representations into events claimed from the RingBuffer

Define a Disrupter EventTranslatorTwoArg which translate (write) data
representations into events claimed from the RingBuffer
sourceraw docstring

deftranslator3cljmacro

(deftranslator3 name & args)

Define a Disrupter EventTranslatorThreeArg which translate (write) data representations into events claimed from the RingBuffer

Define a Disrupter EventTranslatorThreeArg which translate (write) data
representations into events claimed from the RingBuffer
sourceraw docstring

deftranslatorvargcljmacro

(deftranslatorvarg name & args)

Define a Disrupter EventTranslatorVararg which translate (write) data representations into events claimed from the RingBuffer

Define a Disrupter EventTranslatorVararg which translate (write) data
representations into events claimed from the RingBuffer
sourceraw docstring

event-for-sequenceclj

(event-for-sequence rb sequence)

Returns the event for a given sequence in the Ring Buffer

Returns the event for a given sequence in the Ring Buffer
sourceraw docstring

get-buffer-sizeclj

(get-buffer-size rb)
source

get-cursorclj

(get-cursor rb)
source

get-sequenceclj

(get-sequence event-processor)
source

handle-exceptions-withclj

(handle-exceptions-with batch-processor exception-handler)
source

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

× close