Interface TaskReporter

    • Method Detail

      • start

        default void start​(Actor actor,
                           Task task)
        Reports the start of doing the given Task.
        Parameters:
        actor - the acting Actor
        task - the started Task
      • retry

        default void retry​(Actor actor,
                           RetryableTask task,
                           java.lang.Exception cause)
        Reports the retry of the latest started RetryableTask.
        Parameters:
        actor - the acting Actor
        task - the retried Task
        cause - the cause for the retry
      • success

        default void success​(Actor actor,
                             Task task)
        Reports the successful finishing of the latest started Task.
        Parameters:
        actor - the acting Actor
        task - the successfully finished Task
      • failure

        default void failure​(Actor actor,
                             Task task,
                             java.lang.Exception cause)
        Reports the unsuccessful finishing of the latest started Task or Question.
        Parameters:
        actor - the acting Actor
        task - the unsuccessfully finished Task
        cause - the cause of the failure