celery.backends.redis

celery.backends.redis

Redis result store backend.

class celery.backends.redis.RedisBackend(host=None, port=None, db=None, password=None, expires=None, max_connections=None, url=None, \*kwargs*)[源代码]

Redis task result store.

  • client None[源代码]

  • db None

  • delete(key)[源代码]

  • expire(key, value)[源代码]

  • get(key)[源代码]

  • host None

  • implements_incr = True

  • incr(key)[源代码]

  • max_connections = None

    Maximium number of connections in the pool.

  • mget(keys)[源代码]

  • password None

  • port None

  • redis = <module ‘redis’ from ‘/usr/local/lib/python2.7/dist-packages/redis/__init__.pyc’>

    redis-py client module.

  • set(key, value)[源代码]

  • supports_autoexpire = True

  • supports_native_join = True