Interface ResumeStrategy.UpdateCallBack

Enclosing interface:
ResumeStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ResumeStrategy.UpdateCallBack
A callback that can be executed after the last offset is updated
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onUpdate(Throwable throwable)
    The method to execute after the last offset is updated
  • Method Details

    • onUpdate

      void onUpdate(Throwable throwable)
      The method to execute after the last offset is updated
      Parameters:
      throwable - an instance of a Throwable if an exception was thrown during the update process