Home | Trees | Index | Help |
|
---|
Package twisted :: Package popsicle :: Module picklesicle :: Class Picklesicle |
|
Repository
--+ |DirectoryRepository
--+ | Picklesicle
Method Summary | |
---|---|
__init__(self,
dirname,
persistentClasses)
| |
Implement me to return a Deferred if you want to implement asynchronous loading. | |
persistentID(self,
obj)
| |
persistentLoad(self,
pid)
| |
Return a Deferred which will fire True when the object is saved. | |
Inherited from DirectoryRepository | |
Generate an OID synchronously. | |
Inherited from Repository | |
| |
| |
| |
Weakly cache an object for the given OID. | |
The freezer finished cleaning, and some of my objects were cleaned. | |
Create an instance with an oid and cache it. | |
| |
Load an object from cache or by OID. | |
External API for synchronously loading stuff. | |
Implement me if you want to implement synchronous loading. | |
Synonymous with ref.__call__(). | |
Save an object... |
Class Variable Summary | |
---|---|
Inherited from Repository | |
int |
_lastOID = 0 |
Method Details |
---|
loadOID(self, oid)Implement me to return a Deferred if you want to implement asynchronous loading.
|
saveOID(self, oid, obj)Return a Deferred which will fire True when the object is saved.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Sep 13 04:20:47 2003 | http://epydoc.sf.net |