Liking cljdoc? Tell your friends :D

com.brunobonacci.mulog.buffer

Logging library designed to log data events instead of plain words.

This namespace contains the implementation of a ring-buffer and a wrapper agent used to buffer the events before their are published to the downstream systems by the publishers.

Logging library designed to log data events instead of plain words.

This namespace contains the implementation of a ring-buffer and a
wrapper agent used to buffer the events before their are published
to the downstream systems by the publishers.
raw docstring

agent-bufferclj

(agent-buffer capacity)
source

PRingBuffercljprotocol

RingBuffer protocol

RingBuffer protocol

clearclj

(clear this)

removes all the items in the ring buffer

removes all the items in the ring buffer

dequeueclj

(dequeue this offset)

removes all the items in the ring buffer up to the and including the given offset

removes all the items in the ring buffer up to the and including the given offset

enqueueclj

(enqueue this item)

Add an item to the Ring Buffer.

Add an item to the Ring Buffer.

itemsclj

(items this)

Returns a sequence of pairs [<offset> <item>]

Returns a sequence of pairs [<offset> <item>]
sourceraw docstring

recurring-taskclj

(recurring-task delay-millis task)
source

ring-bufferclj

(ring-buffer capacity)

Create an empty ring buffer with the specified [capacity].

Create an empty ring buffer with the specified [capacity].
sourceraw docstring

scheduled-thread-poolclj

(scheduled-thread-pool core-pool-size)
source

timer-poolclj

source

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

× close