project BLF > class BBaseDaemonProcessor > method IterationEnd

Description

Hook method that is called every time the loop for work iterates. It has one input parameter indicating whether work was done in the loop or not.


Parameters


ilIterationPerformedWorkItemsinputlogicalParameter that indicates whether the loop in which this method is called right before the "end." statement has performed work itmes from the queue.
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method BBaseDaemonProcessor.LoopForWork


program code (program1/bbasedaemonprocessor.p)

/* BLF-4246 delete obsoleted buffers */
<M-39 run StartPersistence
   (output vhFcComponent (ohPersistence), 
    output viFcReturnSuper (oiReturnStatus)) in BBaseDaemonProcessor>
if viFcReturnSuper <> 0
then oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0
then return.

<M-77 run ClearBuffers  () in persistence>