Interface WindowStrategy<T>
- All Known Implementing Classes:
- BaseWindowStrategy,- SlidingCountWindowStrategy,- SlidingDurationWindowStrategy,- TumblingCountWindowStrategy,- TumblingDurationWindowStrategy
public interface WindowStrategy<T>
Strategy for windowing which will have respective trigger and eviction policies.
- 
Method SummaryModifier and TypeMethodDescriptionEvictionPolicy<T,?> Returns anEvictionPolicyinstance for this strategy with the given configuration.TriggerPolicy<T,?> getTriggerPolicy(TriggerHandler triggerHandler, EvictionPolicy<T, ?> evictionPolicy) Returns aTriggerPolicyby creating withtriggerHandlerandevictionPolicywith the given configuration.
- 
Method Details- 
getTriggerPolicyTriggerPolicy<T,?> getTriggerPolicy(TriggerHandler triggerHandler, EvictionPolicy<T, ?> evictionPolicy) Returns aTriggerPolicyby creating withtriggerHandlerandevictionPolicywith the given configuration.
- 
getEvictionPolicyEvictionPolicy<T,?> getEvictionPolicy()Returns anEvictionPolicyinstance for this strategy with the given configuration.
 
-