Interface LumberjackMessageProcessor.Callback
- Enclosing interface:
LumberjackMessageProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This functional interface defines the callback to call when the processing of a Lumberjack message is complete
-
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(boolean success) Called when the processing is complete.
-
Method Details
-
onComplete
void onComplete(boolean success) Called when the processing is complete.- Parameters:
success-trueis the processing is a success,falseotherwise
-