Liking cljdoc? Tell your friends :D

aerospike-clj.policy


create-client-policyclj

(create-client-policy event-loops conf)

create-only-policyclj

(create-only-policy client expiration)

Create a write policy with CREATE_ONLY record exists action.

Create a write policy with CREATE_ONLY record exists action.
raw docstring

lowercase-firstclj

(lowercase-first s)

map->batch-policyclj

(map->batch-policy conf)

Create a (read) BatchPolicy from a map. This function is slow due to possible reflection.

Create a (read) `BatchPolicy` from a map.
This function is slow due to possible reflection.
raw docstring

map->event-policyclj

(map->event-policy)
(map->event-policy conf)

Create an EventPolicy from a map. Usage same as map->write-policy.

Create an `EventPolicy` from a map. Usage same as `map->write-policy`.
raw docstring

map->policyclj

(map->policy conf)

Create a (read) Policy from a map. Enumeration names should start with capitalized letter. This function is slow due to possible reflection.

Create a (read) `Policy` from a map. Enumeration names should start with capitalized letter.
This function is slow due to possible reflection.
raw docstring

map->write-policyclj

(map->write-policy conf)

Create a WritePolicy from a map. Keys are strings identical to field names enum fields should start capitalized. This function is slow and involves reflection. For a faster creation use write-policy which uses the client policy caching.

Create a `WritePolicy` from a map. Keys are strings identical to field names
enum fields should start capitalized. This function is slow and involves reflection.
For a faster creation use `write-policy` which uses the client policy caching.
raw docstring

replace-only-policyclj

(replace-only-policy client expiration)

Create a write policy with REPLACE_ONLY record exists action. Fails if the record does not exists

Create a write policy with REPLACE_ONLY record exists action. Fails if the record does not exists
raw docstring

set-javacljmacro

(set-java obj conf obj-name)

set-java-enumcljmacro

(set-java-enum obj conf obj-name)

set-policyclj

(set-policy client expiration)

Create a write policy with UPDATE record exists action. in case of new entry, create it in case the entry exists, update entry

Create a write policy with UPDATE record exists action.
in case of new entry, create it
in case the entry exists, update entry
raw docstring

update-only-policyclj

(update-only-policy client new-expiration)

Create a write policy with UPDATE_ONLY record exists action. The policy helps add/delete bins in records without replacing existing data.

Create a write policy with UPDATE_ONLY record exists action. The policy helps add/delete bins in
records without replacing existing data.
raw docstring

update-policyclj

(update-policy client generation new-expiration)

Create a write policy with expiration, expected generation and EXPECT_GEN_EQUAL generation policy.

Create a write policy with `expiration`, expected `generation`
and EXPECT_GEN_EQUAL generation policy.
raw docstring

write-policyclj

(write-policy client expiration)
(write-policy client expiration record-exists-action)

Create a write policy to be passed to put methods via {:policy wp}. Also used in update and create. The default policy in case the record exists is RecordExistsAction/REPLACE.

Create a write policy to be passed to put methods via `{:policy wp}`.
Also used in `update` and `create`.
The default policy in case the record exists is `RecordExistsAction/REPLACE`.
raw docstring

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

× close