public interface WindowStrategy<T>
Strategy for windowing which will have respective trigger and eviction policies.
Modifier and Type | Method and Description |
---|---|
EvictionPolicy<T> |
getEvictionPolicy()
Returns an
EvictionPolicy instance for this strategy with the given configuration. |
TriggerPolicy<T> |
getTriggerPolicy(TriggerHandler triggerHandler,
EvictionPolicy<T> evictionPolicy)
Returns a
TriggerPolicy by creating with triggerHandler and evictionPolicy with the given configuration. |
TriggerPolicy<T> getTriggerPolicy(TriggerHandler triggerHandler, EvictionPolicy<T> evictionPolicy)
Returns a TriggerPolicy
by creating with triggerHandler
and evictionPolicy
with the given configuration.
triggerHandler
- evictionPolicy
- EvictionPolicy<T> getEvictionPolicy()
Returns an EvictionPolicy
instance for this strategy with the given configuration.
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.