Idiomatic Clojure wrapper around AeroSpike Java client.
Idiomatic Clojure wrapper around AeroSpike Java client.
(->bin bins)(->ops params)(close! conn)(connect!)(connect! host port)(connect-to-multi! cp hosts)(delete! key)(delete! conn ns set key)(get key)(get conn ns set key)(init-once! conn ns set-name)Iinitalize a global connection and a namespace to be used for all future requests since namespace is not dynamic, we can maybe use a default with a shorter aritry
Iinitalize a global connection and a namespace to be used for all future requests since namespace is not dynamic, we can maybe use a default with a shorter aritry
(mget keys)(mget conn keys)(mk-bin name value)(mk-key ns set key)(mk-op op-type bin)create the operation based on the type and bin [:get bin1 :put bin2 :delete bin3]
create the operation based on the type and bin [:get bin1 :put bin2 :delete bin3]
(mk-wp & {:keys [:ttl :gen :gen-policy :commit-level :record-exists-action]})(operate! conn ns set key & ops)multiple operations on a single key ops syntax: :add "b1" 1 :delete "b2" nil
multiple operations on a single key ops syntax: :add "b1" 1 :delete "b2" nil
(put! key bins)(put! conn ns set key bins)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |