| Package | Description |
|---|---|
| org.apache.pulsar.functions.windowing | |
| org.apache.pulsar.functions.windowing.evictors | |
| org.apache.pulsar.functions.windowing.triggers |
| Modifier and Type | Field and Description |
|---|---|
protected EvictionPolicy<T,?> |
WindowManager.evictionPolicy |
| Modifier and Type | Method and Description |
|---|---|
void |
WindowManager.setEvictionPolicy(EvictionPolicy<T,?> evictionPolicy) |
| Modifier and Type | Class and Description |
|---|---|
class |
CountEvictionPolicy<T>
An eviction policy that tracks event counts and can
evict based on a threshold count.
|
class |
TimeEvictionPolicy<T>
Eviction policy that evicts events based on time duration.
|
class |
WatermarkCountEvictionPolicy<T>
An eviction policy that tracks count based on watermark ts and
evicts events up to the watermark based on a threshold count.
|
class |
WatermarkTimeEvictionPolicy<T>
An eviction policy that evicts events based on time duration taking
watermark time and event lag into account.
|
| Constructor and Description |
|---|
CountTriggerPolicy(int count,
TriggerHandler handler,
EvictionPolicy<T,?> evictionPolicy) |
TimeTriggerPolicy(long millis,
TriggerHandler handler,
EvictionPolicy<T,?> evictionPolicy,
Context context) |
WatermarkCountTriggerPolicy(int count,
TriggerHandler handler,
EvictionPolicy<T,?> evictionPolicy,
WindowManager<T> windowManager) |
WatermarkTimeTriggerPolicy(long slidingIntervalMs,
TriggerHandler handler,
EvictionPolicy<T,?> evictionPolicy,
WindowManager<T> windowManager) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.