Liking cljdoc? Tell your friends :D

aerospike-clj.policy


create-client-policy

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

create-only-policy

(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-first

(lowercase-first s)
source

map->batch-policy

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

map->policy

(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-policy

(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-policy

(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-javamacro

(set-java obj conf obj-name)
source

set-java-enummacro

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

update-only-policy

(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-policy

(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-policy

(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