Interface ReleaseStrategy

All Known Implementing Classes:
ExpressionEvaluatingReleaseStrategy, MessageCountReleaseStrategy, MethodInvokingReleaseStrategy, SequenceSizeReleaseStrategy, SimpleSequenceSizeReleaseStrategy, TimeoutCountSequenceSizeReleaseStrategy
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 ReleaseStrategy
Strategy for determining when a group of messages reaches a state of completion (i.e. can trip a barrier).
Author:
Mark Fisher, Dave Syer
  • Method Summary

    Modifier and Type Method Description
    boolean canRelease​(MessageGroup group)