Module npsgd_queue :: Class QueueGlobals
[hide private]
[frames] | no frames]

Class QueueGlobals

source code

object --+
         |
        QueueGlobals

Queue state objects along with disk serialization mechanisms for them.

Instance Methods [hide private]
 
__init__(self, shelve)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
loadConfirmationMap(self)
Load confirmation map ([code, modelDict] pairs) from shelve reserved for the queue.
source code
 
loadDiskTaskQueue(self)
Load task queue from disk using the shelve reserved for the queue.
source code
 
newTaskId(self) source code
 
syncShelve(self)
Serializes the task queue, confirmation map and id counter to disk using the queue shelve.
source code
 
touchWorkerCheckin(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, shelve)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)