Home | Trees | Indices | Help |
---|
|
object --+ | Lister.Lister --+ | Buffer --+ | Store
Models buffers for processes coupled by putting / getting distinguishable items. Blocks a process when a put would cause buffer overflow or a get would cause buffer underflow. Default queuing discipline for blocked processes is priority FIFO.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
nrBuffered | |||
buffered | |||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Adds buffer sorting to this instance of Store. It maintains theBuffer sorted by the sortAttr attribute of the objects in the buffer. The user - provided 'sortFunc' must look like this: def mySort(self, par): tmplist = [(x.sortAttr, x) for x in par] tmplist.sort() return [x for (key, x) in tmplist] |
|
nrBuffered
|
buffered
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue May 11 13:55:06 2010 | http://epydoc.sourceforge.net |