Package buildbot :: Package status :: Module persistent_queue :: Class IndexedQueue
[frames] | no frames]

Class IndexedQueue

source code

object --+
         |
        IndexedQueue

Adds functionality to a IQueue object to track its usage.

Adds a new member function getIndex() and modify popChunk() and insertBackChunk() to keep a virtual pointer to the queue's first entry index.

Instance Methods
 
__init__(self, queue)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getIndex(self) source code
 
popChunk(self, *args, **kwargs) source code
 
insertBackChunk(self, items) source code
 
__providedBy__(...)
Object Specification Descriptor
source code

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

Class Variables
  __implemented__ = <implementedBy buildbot.status.persistent_qu...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Properties

Inherited from object: __class__

Method Details

__init__(self, queue)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

Class Variable Details

__implemented__

Value:
<implementedBy buildbot.status.persistent_queue.IndexedQueue>

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x19c1810>