[ Module Hierarchy
| Class Hierarchy ]
Class Hierarchy
- object:
The most base type
- exceptions.BaseException:
Common base class for all exceptions
- exceptions.Exception:
Common base class for all non-exit exceptions.
- memtools.pattern.Memorized:
This class wraps a normal callable and returns a memorized callable
with a "memo" storage. End users are not intended to know what happens
inside this class, neither they should know about it.
- memtools.protocols.Memory:
Memory objects are key-value gateways to a database or any other kind
of memory storage. They behave the same way dictionaries do, which
makes it easier to mock them.
- memtools.storages.Alzheimer:
This is a mock class. Forget it.
- memtools.protocols.MemoryPool:
A MemoryPool object provides an extended way of using Memory gateways.
It holds more than one connection open, so it should be theoretically
faster than ad-hoc connections. However, it does not necessarily imply
that the objects in the pool are connected to different servers.
- memtools.storages.NotSet:
Empty class used to differenciate None from unsetted values in k-v
storages that return None in both cases, like python-memcached.
- memtools.pattern.memorize:
The memorize decorator takes a Memory (or Memory-compatible) object
and masks the Memorized decorator to keep the original signature
clean.