celery.backends.cassandra

celery.backends.cassandra

Apache Cassandra result store backend.

class celery.backends.cassandra.CassandraBackend(servers=None, keyspace=None, column_family=None, cassandra_options=None, detailed_mode=False, \*kwargs*)[源代码]

Highly fault tolerant Cassandra backend.

  • servers

    List of Cassandra servers with format: hostname:port.

引发 celery.exceptions.ImproperlyConfigured:
 if module pycassa is not available.
  • column_family = None

  • detailed_mode = False

  • keyspace = None

  • process_cleanup()[源代码]

  • servers = []

  • supports_autoexpire = True