Liking cljdoc? Tell your friends :D

asami.durable.flat-file

Manages a memory-mapped file that holds write once data

Manages a memory-mapped file that holds write once data
raw docstring

block-fileclj

(block-file group-name name record-size)
source

Clearablecljprotocol

clear!clj

(clear! this)

Clears out any resources which may be held

Clears out any resources which may be held
source

default-region-sizeclj

Default region of 1GB

Default region of 1GB
sourceraw docstring

flat-storeclj

(flat-store group-name name)

Creates a flat file store. This wraps an append-only file and a paged reader.

Creates a flat file store. This wraps an append-only file and a paged reader.
sourceraw docstring

FlatFileclj

source

paged-fileclj

(paged-file f)
(paged-file f region-size)

Creates a paged file reader

Creates a paged file reader
sourceraw docstring

PagedFileclj

source

read-onlyclj

source

read-setupclj

(read-setup {:keys [regions region-size] :as paged-file} offset byte-count)
source

record-storeclj

(record-store group-name name record-size)

Creates a record store. This wraps an append-only file and a paged reader. The records size is measured in bytes.

Creates a record store. This wraps an append-only file and a paged reader.
The records size is measured in bytes.
sourceraw docstring

RecordsFileclj

source

store-exists?clj

(store-exists? group-name name)

Checks if the resources for a file have been created already

Checks if the resources for a file have been created already
sourceraw docstring

tx-file-sizeclj

(tx-file-size rfile tx-size)
source

tx-storeclj

(tx-store group-name name payload-size)

Creates a transaction store. This wraps an append-only file and a paged reader.

Creates a transaction store. This wraps an append-only file and a paged reader.
sourceraw docstring

TxFileclj

source

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

× close