接口的使用
org.apache.pulsar.functions.windowing.EvictionPolicy
使用EvictionPolicy的程序包
程序包
说明
-
org.apache.pulsar.functions.windowing中EvictionPolicy的使用
-
org.apache.pulsar.functions.windowing.evictors中EvictionPolicy的使用
修饰符和类型类说明classAn eviction policy that tracks event counts and can evict based on a threshold count.classEviction policy that evicts events based on time duration.classAn eviction policy that tracks count based on watermark ts and evicts events up to the watermark based on a threshold count.classAn eviction policy that evicts events based on time duration taking watermark time and event lag into account. -
org.apache.pulsar.functions.windowing.triggers中EvictionPolicy的使用
限定符构造器说明CountTriggerPolicy(int count, TriggerHandler handler, EvictionPolicy<T, ?> evictionPolicy) TimeTriggerPolicy(long millis, TriggerHandler handler, EvictionPolicy<T, ?> evictionPolicy, org.apache.pulsar.functions.api.Context context) WatermarkCountTriggerPolicy(int count, TriggerHandler handler, EvictionPolicy<T, ?> evictionPolicy, WindowManager<T> windowManager) WatermarkTimeTriggerPolicy(long slidingIntervalMs, TriggerHandler handler, EvictionPolicy<T, ?> evictionPolicy, WindowManager<T> windowManager)