Package | Description |
---|---|
org.apache.storm.trident.windowing.strategy | |
org.apache.storm.windowing |
Modifier and Type | Method and Description |
---|---|
TriggerPolicy<T,?> |
TumblingDurationWindowStrategy.getTriggerPolicy(TriggerHandler triggerHandler,
EvictionPolicy<T,?> evictionPolicy)
Returns a
TriggerPolicy which triggers for every given sliding duration. |
TriggerPolicy<T,?> |
WindowStrategy.getTriggerPolicy(TriggerHandler triggerHandler,
EvictionPolicy<T,?> evictionPolicy)
Returns a
TriggerPolicy by creating with triggerHandler and evictionPolicy with the given configuration. |
TriggerPolicy<T,?> |
TumblingCountWindowStrategy.getTriggerPolicy(TriggerHandler triggerHandler,
EvictionPolicy<T,?> evictionPolicy)
Returns a
TriggerPolicy which triggers for every count of given sliding window. |
TriggerPolicy<T,?> |
SlidingCountWindowStrategy.getTriggerPolicy(TriggerHandler triggerHandler,
EvictionPolicy<T,?> evictionPolicy)
Returns a
TriggerPolicy which triggers for every count of given sliding window. |
TriggerPolicy<T,?> |
SlidingDurationWindowStrategy.getTriggerPolicy(TriggerHandler triggerHandler,
EvictionPolicy<T,?> evictionPolicy)
Returns a
TriggerPolicy which triggers for every configured sliding window duration. |
Modifier and Type | Class and Description |
---|---|
class |
CountTriggerPolicy<T>
A trigger that tracks event counts and calls back
TriggerHandler.onTrigger() when the count threshold is hit. |
class |
TimeTriggerPolicy<T>
Invokes
TriggerHandler.onTrigger() after the duration. |
class |
WatermarkCountTriggerPolicy<T>
A trigger policy that tracks event counts and sets the context for eviction policy to evict based on latest watermark time.
|
class |
WatermarkTimeTriggerPolicy<T>
Handles watermark events and triggers
TriggerHandler.onTrigger() for each window interval that has events to be processed up to the watermark ts. |
Modifier and Type | Field and Description |
---|---|
protected TriggerPolicy<T,?> |
WindowManager.triggerPolicy |
Modifier and Type | Method and Description |
---|---|
void |
WindowManager.setTriggerPolicy(TriggerPolicy<T,?> triggerPolicy) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.