Liking cljdoc? Tell your friends :D

lib-onyx.replica-query


completed-jobsclj

(completed-jobs replica)

Lists all the job ids that have been completed.

Lists all the job ids that have been completed.
sourceraw docstring

deref-replicaclj

(deref-replica log-subscriber)

Takes a log subscriber and derefences the replica as an immutable value.

Takes a log subscriber and derefences the replica as an immutable value.
sourceraw docstring

job-allocationsclj

(job-allocations replica)

Returns a map of job id -> task id -> peer ids, denoting which peers are assigned to which tasks.

Returns a map of job id -> task id -> peer ids, denoting which peers are assigned to which tasks.
sourceraw docstring

job-schedulerclj

(job-scheduler replica)

Returns the job scheduler for this tenancy of the cluster.

Returns the job scheduler for this tenancy of the cluster.
sourceraw docstring

jobsclj

(jobs replica)

Lists all non-killed, non-completed job ids.

Lists all non-killed, non-completed job ids.
sourceraw docstring

killed-jobsclj

(killed-jobs replica)

Lists all the job ids that have been killed.

Lists all the job ids that have been killed.
sourceraw docstring

peer-allocationclj

(peer-allocation replica peer-id)

Given a peer id, returns the job id and task id that this peer is currently assigned to, if any.

Given a peer id, returns the job id and task id that this peer is currently assigned to, if any.
sourceraw docstring

peer-siteclj

(peer-site replica peer-id)

Given a peer id, returns the Aeron hostname and port that this peer advertises to the rest of the cluster.

Given a peer id, returns the Aeron hostname and port that this peer advertises to the rest of the cluster.
sourceraw docstring

peer-stateclj

(peer-state replica peer-id)

Given a peer id, returns its current execution state (e.g. :idle, :active, etc).

Given a peer id, returns its current execution state (e.g. :idle, :active, etc).
sourceraw docstring

peersclj

(peers replica)

Lists all the peer ids.

Lists all the peer ids.
sourceraw docstring

task-allocationsclj

(task-allocations replica job-id)

Given a job id, returns a map of task id -> peer ids, denoting which peers are assigned to which tasks for this job only.

Given a job id, returns a map of task id -> peer ids, denoting which peers are assigned to which tasks for this job only.
sourceraw docstring

task-schedulerclj

(task-scheduler replica job-id)

Given a job id, returns the task scheduler for this job.

Given a job id, returns the task scheduler for this job.
sourceraw docstring

tasksclj

(tasks replica job-id)

Given a job id, returns all the task ids for this job.

Given a job id, returns all the task ids for this job.
sourceraw docstring

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

× close