Interface QuestionReporter
- All Known Subinterfaces:
LoggingReporter,Reporter
- All Known Implementing Classes:
FileReporter,Slf4jReporter
public interface QuestionReporter
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidReports the unsuccessful finishing of the latest startedQuestiondue to an acknowledged exception.default <A> voidReports the unsuccessful finishing of the latest startedRetryableQuestiondue to an unacceptable answer.default voidretry(Actor actor, RetryableQuestion<?> question, Exception cause) Reports the retry of the latest startedRetryableQuestiondue to an ignored exception.default <A> voidretry(Actor actor, RetryableQuestion<A> question, A answer) Reports the retry of the latest startedRetryableQuestiondue to an unacceptable answer.default voidReports the start of checking the givenQuestion.default <A> voidReports the successful finishing of the lastest startedQuestion.
-
Method Details
-
start
Reports the start of checking the givenQuestion. -
retry
Reports the retry of the latest startedRetryableQuestiondue to an ignored exception.- Parameters:
actor- the actingActorquestion- the retried questioncause- the cause for the retry
-
retry
Reports the retry of the latest startedRetryableQuestiondue to an unacceptable answer.- Type Parameters:
A- the type of the given answer- Parameters:
actor- the actingActorquestion- the retried questionanswer- the current unacceptable answer
-
success
Reports the successful finishing of the lastest startedQuestion. -
failure
Reports the unsuccessful finishing of the latest startedQuestiondue to an acknowledged exception. -
failure
Reports the unsuccessful finishing of the latest startedRetryableQuestiondue to an unacceptable answer.
-