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.
@FunctionalInterface public interface LumberjackMessageProcessor
This functional interface defines a processor that will be called when a lumberjack message is received
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LumberjackMessageProcessor.Callback
This functional interface defines the callback to call when the processing of a Lumberjack message is complete
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMessageReceived(Object payload, LumberjackMessageProcessor.Callback callback)
Called when a message is received.
-
-
-
Method Detail
-
onMessageReceived
void onMessageReceived(Object payload, LumberjackMessageProcessor.Callback callback)
Called when a message is received. Thecallback
must be called with the status of the processing- Parameters:
payload
- Lumberjack message payloadcallback
- Callback to call when the processing is complete
-
-