code: public void onSaveItems(ItemStateChangesLog chlog)
     {
        if (state == FINISHED)
        {
           return;
        }
        else if (state == WAITING)
        {
           suspendBuffer.add(chlog);
        }
        else if (state == WORKING)
        {
           try
           {
              // wait while suspended buffer is not clear
              if (latcher != null && latcher.getCount() != 0)
              {
                 latcher.await();
              }
  
              workingThreads.incrementAndGet();
  
              save(chlog);
  
              workingThreads.decrementAndGet();
           }
           catch (IOException e)
           {
              log.error("Incremental backup: Can't save log ", e);
              notifyError("Incremental backup: Can't save log ", e);
           }
           catch (InterruptedException e)
           {
              log.error("Incremental backup: Can't save log ", e);
              notifyError("Incremental backup: Can't save log ", e);
           }
        }
     }
docs: {@inheritDoc}