This document describes Celery 2.4. For development docs, 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
-