Package io.hekate.messaging.operation
Interface BroadcastRepeatCondition<T>
-
- Type Parameters:
T
- Message type.
- 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 BroadcastRepeatCondition<T>
Condition to repeat anBroadcast
operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldRepeat(BroadcastResult<T> result)
Returnstrue
if the wholeBroadcast
operation should be repeated.
-
-
-
Method Detail
-
shouldRepeat
boolean shouldRepeat(BroadcastResult<T> result)
Returnstrue
if the wholeBroadcast
operation should be repeated.- Parameters:
result
- Current aggregation result.- Returns:
true
if the wholeBroadcast
operation should be repeated.
-
-