@FunctionalInterface public interface DeadlineConsumer
Consumer
of a DeadlineMessage
.Modifier and Type | Method and Description |
---|---|
void |
consume(ScopeDescriptor deadlineScope,
DeadlineMessage<?> deadlineMessage)
Consumes given
deadlineMessage . |
void consume(ScopeDescriptor deadlineScope, DeadlineMessage<?> deadlineMessage) throws Exception
deadlineMessage
. The deadlineScope
is used to identify the exact handler of the
message.deadlineScope
- A description of the Scope
in which a deadline was
scheduleddeadlineMessage
- the DeadlineMessage
to be handledException
- in case something goes wrong while consuming the deadlineMessage
Copyright © 2010–2024. All rights reserved.