| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MemoizerInterface
Note: dicts implement this easily, but without the (optional) local lock.
| Instance Methods | |||
| bool |
|
||
| any |
|
||
|
|||
|
Inherited from |
|||
| Instance Variables | |
| Lock |
lock A lock object for the cache access. |
| Properties | |
|
Inherited from |
| Method Details |
|
|
|
| Instance Variable Details |
lockA lock object for the cache access. The lock needs an acquire method and a release method. If the attribute does not exist or is None, cache access is serialized using a global lock. If you have multiple caches (for whatever reasons) this local lock is handy.
|
| Home | Trees | Indices | Help |
|
|---|