Package twisted :: Package world :: Module allocator :: Class StringStore
[frames | no frames]

Class StringStore

object --+        
         |        
  Storable --+    
             |    
    Allocation --+
                 |
                StringStore


Method Summary
  __init__(self, db, st)
  getData(self)
    Inherited from Allocation
  expand(self, howMuch)
I have some space in a fragment file, but I need more.
  findFragFile(self, howBig)
I may or may not have a fragment file.
  free(self)
  getDataFile(self)
    Inherited from Storable
  __awake__(self)
POSSIBLY: a method for when objects 'wake up'
  __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
  __delattr__(...)
  __getattribute__(...)
  __hash__(...)
  __reduce__(...)
  __setattr__(...)
  __str__(...)

Property Summary
  _schema_genhash: int(_schema_genhash)
  _schema_oid: int(_schema_oid)
  allocBegin: int(allocBegin)
  allocIndex: int(allocIndex)
  allocLength: int(allocLength)
  contentLength: int(contentLength)
  fragfile: FragmentFile(fragfile)

Class Variable Summary
str __name__ = 'StringStore'
dict __schema__ = {'_attrcache': None, 'allocIndex': <type 'i...
NoneType _attrcache = None                                                                  
NoneType _inmem_fromdb = None                                                                  
NoneType _inmem_genhash = None                                                                  
NoneType _inmem_oid = None                                                                  
dict _schema_loadmap = {'allocBegin': 2, 'allocIndex': 3, 'fr...
dict _schema_orig = {}
tuple _schema_storeorder = ('_schema_genhash', '_schema_oid', ...
NoneType _schema_table = None                                                                  

Property Details

_schema_genhash

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

_schema_oid

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

allocBegin

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

allocIndex

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

allocLength

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

contentLength

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

fragfile

FragmentFile(fragfile)
Get Method:
getter(...)
Set Method:
setter(...)

Class Variable Details

__name__

Type:
str
Value:
'StringStore'                                                          

__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,
 'allocBegin': <type 'int'>,
...                                                                    

_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_genhash': 0,
 '_schema_oid': 1,
 'allocBegin': 2,
 'allocIndex': 3,
 'allocLength': 4,
 'contentLength': 5,
 'fragfile': 6}                                                        

_schema_orig

Type:
dict
Value:
{}                                                                     

_schema_storeorder

Type:
tuple
Value:
('_schema_genhash',
 '_schema_oid',
 'allocBegin',
 'allocIndex',
 'allocLength',
 'contentLength',
 'fragfile')                                                           

_schema_table

Type:
NoneType
Value:
None                                                                  

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