Package memtools :: Module protocols
[hide private]

Module protocols

source code

This file defines the required protocols for most memory tools used in this package.
Classes [hide private]
  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.
  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.

Imports: wraps, Memorized, memorize