roger v1.4.1 Roger.System View Source

Listener for system-wide events.

On the AMQP side, the systemchannel declares a fanout exchange called ‘system’ and adds a private queue to it, which it consumes.

Link to this section Summary

Functions

Return whether the node is active or shutting down

Execute a given command on all nodes, and wait for all nodes to return their values

Execute a given command on all nodes, does not wait for their completion

Return whether the node is connected to the AMQP broker

Set node to inactive so it can no longer start new partitions

Unsubscribe from all queues - ie. stop listening for jobs

Link to this section Functions

Return whether the node is active or shutting down

Link to this function call(command, args \\ nil) View Source

Execute a given command on all nodes, and wait for all nodes to return their values

Link to this function cast(command, args \\ nil) View Source

Execute a given command on all nodes, does not wait for their completion.

Return whether the node is connected to the AMQP broker

Set node to inactive so it can no longer start new partitions

Unsubscribe from all queues - ie. stop listening for jobs