clojurewerkz.welle.core

connect

(connect)(connect url)(connect url client-id)
Creates an HTTP client for a given URL, optionally with a custom client ID.
With no arguments, connects to localhost on the default Riak port.

connect-to-cluster

(connect-to-cluster endpoints)
Creates an HTTP cluster client.

connect-to-cluster-via-pb

(connect-to-cluster-via-pb endpoints)
Creates a Protocol Buffers cluster client given a sequence of string
endpoints.

connect-via-pb

(connect-via-pb)(connect-via-pb host port)
Creates a Protocol Buffers client for the given host and port, or, by
default, to localhost on the default Riak PB port.

default-cluster-connection-limit

get-base-url

(get-base-url client)
Returns base HTTP transport URL (e.g. http://127.0.0.1:8098)

get-client-id

(get-client-id client)
The client ID used by a given client.

HTTPClusterConfigurator

protocol

members

http-cluster-config-from

(http-cluster-config-from self)

PBClusterConfigurator

protocol

members

pbc-cluster-config-from

(pbc-cluster-config-from self)

ping

(ping client)
Pings a client.

shutdown

(shutdown client)
Shuts down a client.

stats

(stats client)
Returns statistics for a client.