Package twisted :: Package world :: Module storable :: Class Storable
[frames | no frames]

Class Storable

object --+
         |
        Storable

Known Subclasses:
Allocation, FragmentFile

Method Summary
  __awake__(self)
POSSIBLY: a method for when objects 'wake up'
  __getAttrMapper(self, name)
  __new__(klazz, *args, **kwargs)
(Static method)
  __repr__(self)
  _clearcache(self)
  _loadattr(self, attr)
  _saveattr(self, attr, val)
  _upgradeFrom(self, version, input)
  fromDB(klass, table, oid, genhash)
(Class method)
  getDatabase(self)
Get the database that this object is a member of.
  keepAlive(self, volatileObject)
Keep me alive until nobody references volatileObject any more.
  storedUIDPath(self)
    Inherited from object
  __init__(...)
  __delattr__(...)
  __getattribute__(...)
  __hash__(...)
  __reduce__(...)
  __setattr__(...)
  __str__(...)

Property Summary
  _schema_genhash: int(_schema_genhash)
  _schema_oid: int(_schema_oid)

Class Variable Summary
type __metaclass__ = twisted.world.storable.MetaStorable
str __name__ = 'Storable'
dict __schema__ = {'_inmem_genhash': None, '_attrcache': None...
NoneType _attrcache = None                                                                  
NoneType _inmem_fromdb = None                                                                  
NoneType _inmem_genhash = None                                                                  
NoneType _inmem_oid = None                                                                  
dict _schema_loadmap = {'_schema_oid': 1, '_schema_genhash': ...
dict _schema_orig = {'_schema_oid': <type 'int'>, '_attrcache...
tuple _schema_storeorder = ('_schema_genhash', '_schema_oid')
NoneType _schema_table = None                                                                  

Instance Method Details

__awake__(self)

POSSIBLY: a method for when objects 'wake up'

getDatabase(self)

Get the database that this object is a member of.

keepAlive(self, volatileObject)

Keep me alive until nobody references volatileObject any more.

Property Details

_schema_genhash

int(_schema_genhash)
Get Method:
getter(...)
Set Method:
setter(...)

_schema_oid

int(_schema_oid)
Get Method:
getter(...)
Set Method:
setter(...)

Class Variable Details

__name__

Type:
str
Value:
'Storable'                                                             

__schema__

Type:
dict
Value:
{'_attrcache': None,
 '_inmem_fromdb': None,
 '_inmem_genhash': None,
 '_inmem_oid': None,
 '_schema_genhash': <type 'int'>,
 '_schema_oid': <type 'int'>,
 '_schema_table': None}                                                

_attrcache

Type:
NoneType
Value:
None                                                                  

_inmem_fromdb

Type:
NoneType
Value:
None                                                                  

_inmem_genhash

Type:
NoneType
Value:
None                                                                  

_inmem_oid

Type:
NoneType
Value:
None                                                                  

_schema_loadmap

Type:
dict
Value:
{'_schema_oid': 1, '_schema_genhash': 0}                               

_schema_orig

Type:
dict
Value:
{'_attrcache': None,
 '_inmem_fromdb': None,
 '_inmem_genhash': None,
 '_inmem_oid': None,
 '_schema_genhash': <type 'int'>,
 '_schema_oid': <type 'int'>,
 '_schema_table': None}                                                

_schema_storeorder

Type:
tuple
Value:
('_schema_genhash', '_schema_oid')                                     

_schema_table

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Sat Sep 13 04:20:49 2003 http://epydoc.sf.net