cobald.decorator.buffer module
- class cobald.decorator.buffer.Buffer(*args, **kwargs)[source]
Bases:
PoolDecoratorA timed buffer for changes to a pool
- Parameters:
target – the pool to which changes are applied
window – interval after which changes are applied
Any changes made to
demandare stored internally. Everywindowseconds, the final demand is applied totarget.- demand = 0.0