(->mtake n mname)
(add-all! hc c)
(add-entry-listener m ml)
(add-index m index)
(add-index m index ordered?)
(add-member-attr instance k v)
(all-instances)
(cget m k)
(cget m k f)
(client-config {:keys [hosts retry-ms retry-max group-name group-password
near-cache smart-routing]
:or {hosts ["127.0.0.1"]
retry-ms 5000
retry-max 720000
group-name "dev"
group-password "dev-pass"
smart-routing true}})
(client-instance)
(client-instance conf)
Checks that the current instance is running
via instance-active?
.
Checks that the current instance is running via `instance-active?`.
(cluster-of nodes & {:keys [conf]})
(cluster-stats)
(cluster-stats instance)
(delete! m k)
(distributed-objects hz-instance)
(entry-added-listener f)
(entry-evicted-listener f)
(entry-expired-listener f)
(entry-loaded-listener f)
(entry-merged-listener f)
(entry-removed-listener f)
(entry-updated-listener f)
(eviction-config {:keys [eviction-policy max-size-policy size]})
(execution-callback {:keys [on-response on-failure]
:or {on-response identity on-failure identity}})
(find-all-maps)
(find-all-maps instance)
(ftask fun & args)
(hz-instance)
(hz-instance conf)
(hz-list m)
(hz-list m instance)
(hz-map m)
(hz-map m instance)
(hz-mmap m)
(hz-mmap m instance)
(hz-queue m)
(hz-queue m instance)
(hz-reliable-topic t)
(hz-reliable-topic t instance)
(instance-active? instance)
Checks that the provided <instance> is running, and if so returns it - otherwise returns falsey.
Checks that the provided <instance> is running, and if so returns it - otherwise returns falsey.
(k->enum t k)
(local-member-by-instance instance)
(map-sizes)
(map-sizes instance)
(message-listener f)
(mtake m)
(mtake n m)
(near-cache-config {:keys [name eviction preloader in-memory-format
invalidate-on-change time-to-live-seconds
max-idle-seconds cache-local-entries
local-update-policy]})
(new-instance)
(new-instance conf)
(next-page _)
(preloader-config {:keys [enabled directory store-initial-delay-seconds
store-interval-seconds]})
(put! m k v)
(put! m k v f)
(put-all! dest src)
(query-cache m cname)
(query-cache m cname pred)
(query-cache m cname pred include-value?)
(query-cache m cname pred listener include-value?)
continuous query cache: i.e. (query-cache m "vim-cache" "editor = vim")
continuous query cache: i.e. (query-cache m "vim-cache" "editor = vim")
(reliable-message-listener
f
{:keys [start-from store-seq loss-tolerant? terminal?]
:or {start-from -1 store-seq identity loss-tolerant? false terminal? true}})
(add-reliable-listener t f opts)
(remove! m k)
(remove-entry-listener m listener-id)
(secrefy {:keys [group-name group-password] :as conf})
(select m
where
&
{:keys [as order-by page-size] :or {as :set order-by comp-keys}})
(set-default-exception-handler)
(shutdown)
(shutdown-client instance)
(task fun & args)
(add-message-listener t f)
(hz-name t)
(local-stats t)
(publish t msg)
(remove-message-listener t id)
(unproxy p)
(with-creds creds)
(with-creds {:keys [group-name group-password]} config)
(with-near-cache nc-config map-name)
(with-near-cache nc-config map-name hz-config)
(with-paging n & {:keys [order-by pred] :or {order-by comp-keys}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close