| Package | Description |
|---|---|
| org.apache.pulsar.functions.windowing | |
| org.apache.pulsar.functions.windowing.triggers |
| Modifier and Type | Field and Description |
|---|---|
protected TriggerPolicy<T,?> |
WindowManager.triggerPolicy |
| Modifier and Type | Method and Description |
|---|---|
void |
WindowManager.setTriggerPolicy(TriggerPolicy<T,?> triggerPolicy) |
| 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. |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.