alias of Config
Bases: object
Request wrapper for asynchronous functions render_GET (returning server.NOT_DONE_YET). This class is not to be used directly.
Wrapper for twisted.protocol.memcached.MemCacheProtocol.add()
Wrapper for twisted.protocol.memcached.MemCacheProtocol.append()
Cache the output of the function. Shall be used as decorator.
Parameters: |
|
---|
Cache the output of function render_GET which returns server.NOT_DONE_YET. If it returns a string, use cache_sync_render_GET() instead. Shall be used as decorator.
Parameters: |
|
---|
Cache the output of function render_GET which returns a string. If it returns server.NOT_DONE_YET, use cache_async_render_GET() instead. Shall be used as decorator.
Parameters: |
|
---|
Connect to memcached server
Returns: | Deferred which fires with protocol instance |
---|
Wrapper for twisted.protocol.memcached.MemCacheProtocol.decrement()
Default function which generates cache key using function and its arguments. All the arguments must be picklable.
Parameters: |
|
---|---|
Returns: | key for caching server (str) |
Wrapper for twisted.protocol.memcached.MemCacheProtocol.delete()
Wrapper for twisted.protocol.memcached.MemCacheProtocol.flushAll()
Wrapper for twisted.protocol.memcached.MemCacheProtocol.get()
Wrapper for twisted.protocol.memcached.MemCacheProtocol.getMultiple()
Wrapper for twisted.protocol.memcached.MemCacheProtocol.increment()
Load configuration. Must be called before use of other method of this module. By default, caching is disabled.
Wrapper for twisted.protocol.memcached.MemCacheProtocol.prepend()
Wrapper for twisted.protocol.memcached.MemCacheProtocol.replace()
Key which has been added by the function with particular arguments.
Add function call to the registry
Parameters: |
|
---|