Liking cljdoc? Tell your friends :D

lib-onyx.replica-query


completed-jobsclj/s

(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/s

(deref-replica log-subscriber)

Derefences the replica as an immutable value.

Derefences the replica as an immutable value.
sourceraw docstring

host-peersclj/s

(host-peers replica)
source

job-allocationsclj/s

(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/s

(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

job-stateclj/s

(job-state replica job-id)
source

jobsclj/s

(jobs replica)

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

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

killed-jobsclj/s

(killed-jobs replica)

Lists all the job ids that have been killed.

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

peer->allocated-jobclj/s

(peer->allocated-job replica 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/s

(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/s

(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/s

(peers replica)

Lists all the peer ids.

Lists all the peer ids.
sourceraw docstring

task->peer-sitesclj/s

(task->peer-sites replica job-id task-id)

Given a job id and task-id return a map with peer-id->host-addr allocations for that task

Given a job id and task-id return a map with peer-id->host-addr allocations for that task
sourceraw docstring

task-allocationsclj/s

(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/s

(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/s

(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