(completed-jobs replica)
Lists all the job ids that have been completed.
Lists all the job ids that have been completed.
(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.
(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.
(job-scheduler replica)
Returns the job scheduler for this tenancy of the cluster.
Returns the job scheduler for this tenancy of the cluster.
(jobs replica)
Lists all non-killed, non-completed job ids.
Lists all non-killed, non-completed job ids.
(killed-jobs replica)
Lists all the job ids that have been killed.
Lists all the job ids that have been killed.
(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.
(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.
(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).
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close