Interface StatusListener

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void onComplete()
      Called when the indexing finished successfully (without an exception).
      default void onError​(java.lang.Throwable throwable)
      Called when there was an error while indexing.
      default void onInit​(long fileSize)
      Called on initialization.
      default void onReadBytes​(int bytes)
      Called when a new read operation has been performend.
      default void onReadRecord()
      Called when a new record has been read.
    • Method Detail

      • onInit

        default void onInit​(long fileSize)
        Called on initialization.
        Parameters:
        fileSize - the total file size.
      • onReadRecord

        default void onReadRecord()
        Called when a new record has been read.
      • onReadBytes

        default void onReadBytes​(int bytes)
        Called when a new read operation has been performend.
        Parameters:
        bytes - number of bytes read.
      • onComplete

        default void onComplete()
        Called when the indexing finished successfully (without an exception).
      • onError

        default void onError​(java.lang.Throwable throwable)
        Called when there was an error while indexing.
        Parameters:
        throwable - the exception thrown.