This document describes an older version of Celery (2.2). For the latest stable version please go here.

celery.backends.tyrant

celery.backends.tyrant

class celery.backends.tyrant.TyrantBackend(tyrant_host=None, tyrant_port=None, **kwargs)

Tokyo Cabinet based task backend store.

tyrant_host

The hostname to the Tokyo Tyrant server.

tyrant_port

The port to the Tokyo Tyrant server.

close()

Close the tyrant connection and remove the cache.

delete(key)
get(key)
open()

Get pytyrant.PyTyrant instance with the current server configuration.

The connection is then cached until you do an explicit close().

process_cleanup()
set(key, value)
tyrant_host = None
tyrant_port = None

Previous topic

celery.backends.cassandra

Next topic

celery.execute.trace

This Page