Package 

Class StreamEventAggregationPolicy


  • 
    public final class StreamEventAggregationPolicy<T extends Object>
    
                        

    Complete aggregation configuration for StreamEventAggregator.

    Combines behavior (how to extract types and deserialize) with tuning (thresholds, windows, queue capacity). Once created via a factory method, the policy is guaranteed valid — all invariants are checked at construction time.

    The primary constructor is private. Create instances through the from factory method.

    • aggregationThreshold > 0

    • maxWindowMs > 0

    • dispatchQueueCapacity > 0