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

Backend: Tokyo Tyrant - celery.backends.tyrant

celery.backends.tyrant

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

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

Backend: Cassandra - celery.backends.cassandra

Next topic

Tracing Execution - celery.execute.trace

This Page