cyme.models
Broker connection arguments.
AMQP (kombu) url.
Return a new Connection to this broker.
Returns this broker as a dictionary that can be Json encoded.
A connection pool with connections to this broker.
The manager for this model is BrokerManager.
An AMQP queue that can be consumed from by one or more instances.
Queue name (unique, max length 128)
Exchange name (max length 128)
Exchange type (max length 128)
Routing key/binding key (max length 128).
Additional JSON encoded queue/exchange/binding options. see kombu.compat for a list of options supported.
Not in use.
Timestamp created.
Returns dictionary representation of this queue that can be Json encoded.
The manager for this model is QueueManager.
A celeryd instance.
Name of the instance.
Autoscale setting for max concurrency. (maximum number of processes/threads/green threads when the worker is active).
Autoscale setting for min concurrency. (minimum number of processes/threads/green threads when the worker is idle).
Flag set if this instance should be running.
Timestamp of when this instance was first created.
Class used to start/stop and restart celeryd instances. (Default is celery.bin.celeryd_multi.MultiTool).
The manager used for this model is InstanceManager.
Working directory used by all instances. (Default is /var/run/cyme).
Returns dictionary representation of this instance that can be Json encoded.
Enables this instance (model-only).
Disables this instance (model-only).
Starts the instance.
Shuts down the instance.
Restarts the instance.
Returns True if the pid responds to signals, and the instance responds to ping broadcasts.
Returns instance statistics (like celeryctl inspect stats).
Set max/min autoscale settings.
Returns True if the instance responds to broadcast ping.
Returns True if the pid file exists and the pid responds to signals.
Returns the queues the instance is currently consuming from.
Add queue for this instance by name.
Get the process id for this instance by reading its pid file.
Returns None if the pid file does not exist.
Execute celeryd-multi command.
Send remote control command and wait for this instances reply.