Liking cljdoc? Tell your friends :D

aerospike-clj.policy


create-client-policyclj

(create-client-policy event-loops conf)
source

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.
sourceraw docstring

lowercase-firstclj

(lowercase-first s)
source

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.
sourceraw docstring

map->event-policyclj

(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`.
sourceraw 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.
sourceraw 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.
sourceraw 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
sourceraw docstring

set-javacljmacro

(set-java obj conf obj-name)
source

set-java-enumcljmacro

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

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
sourceraw 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.
sourceraw 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.
sourceraw 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

Create a write policy to be passed to put methods via `{:policy wp}`.
Also used in `update` and `create`
sourceraw docstring

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

× close