celery.worker.control

celery.worker.control

Remote control commands.

class celery.worker.control.Panel(dict=None, \*kwargs*)[源代码]

  • data = {‘time_limit’: <function time_limit at 0xcd34bc4>, ‘revoke’: <function revoke at 0xcd343e4>, ‘objgraph’: <function objgraph at 0xcd34cdc>, ‘dump_active’: <function dump_active at 0xcd34c6c>, ‘active_queues’: <function active_queues at 0xcd40064>, ‘cancel_consumer’: <function cancel_consumer at 0xcd4002c>, ‘dump_reserved’: <function dump_reserved at 0xcd34c34>, ‘election’: <function election at 0xcd4010c>, ‘shutdown’: <function shutdown at 0xcd34f7c>, ‘stats’: <function stats at 0xcd34ca4>, ‘clock’: <function clock at 0xcd34d84>, ‘ping’: <function ping at 0xcd34e64>, ‘disable_events’: <function disable_events at 0xcd34b1c>, ‘memdump’: <function memdump at 0xcd34d4c>, ‘pool_shrink’: <function pool_shrink at 0xcd34ed4>, ‘pool_restart’: <function pool_restart at 0xcd34f0c>, ‘dump_schedule’: <function dump_schedule at 0xcd34bfc>, ‘report’: <function report at 0xcd34aac>, ‘autoscale’: <function autoscale at 0xcd34f44>, ‘query_task’: <function query_task at 0xd023e9c>, ‘dump_tasks’: <function dump_tasks at 0xcd34e2c>, ‘add_consumer’: <function add_consumer at 0xcd34fb4>, ‘enable_events’: <function enable_events at 0xcd34ae4>, ‘dump_revoked’: <function dump_revoked at 0xcd34dbc>, ‘rate_limit’: <function rate_limit at 0xcd34b8c>, ‘dump_conf’: <function dump_conf at 0xcd400d4>, ‘memsample’: <function memsample at 0xcd34d14>, ‘pool_grow’: <function pool_grow at 0xcd34e9c>, ‘heartbeat’: <function heartbeat at 0xcd34b54>, ‘hello’: <function hello at 0xcd34df4>}

  • classmethod register(method, name=None)[源代码]