Liking cljdoc? Tell your friends :D

com.brunobonacci.mulog.buffer


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

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

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

× close