Interface OProgressListener

All Known Implementing Classes:
OConsoleDatabaseApp, OIndexRebuildOutputListener, ONullOutputListener

public interface OProgressListener
Listener interface called on task execution.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onBegin(Object iTask, long iTotal, Object iMetadata)
     
    void
    onCompletition(Object iTask, boolean iSucceed)
     
    boolean
    onProgress(Object iTask, long iCounter, float iPercent)
     
  • Method Details

    • onBegin

      void onBegin(Object iTask, long iTotal, Object iMetadata)
    • onProgress

      boolean onProgress(Object iTask, long iCounter, float iPercent)
    • onCompletition

      void onCompletition(Object iTask, boolean iSucceed)