Class TumblingCountWindowStrategy<T>
java.lang.Object
org.apache.storm.trident.windowing.strategy.BaseWindowStrategy<T>
org.apache.storm.trident.windowing.strategy.TumblingCountWindowStrategy<T>
- All Implemented Interfaces:
- WindowStrategy<T>
This class represents tumbling window strategy based on the window count from the given 
slidingCountWindow configuration. In this
 strategy , window and sliding lengths are equal.- 
Field SummaryFields inherited from class org.apache.storm.trident.windowing.strategy.BaseWindowStrategywindowConfig
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionEvictionPolicy<T,?> Returns anEvictionPolicyinstance which evicts elements after a count of given window length.TriggerPolicy<T,?> getTriggerPolicy(TriggerHandler triggerHandler, EvictionPolicy<T, ?> evictionPolicy) Returns aTriggerPolicywhich triggers for every count of given sliding window.
- 
Constructor Details- 
TumblingCountWindowStrategy
 
- 
- 
Method Details- 
getTriggerPolicypublic TriggerPolicy<T,?> getTriggerPolicy(TriggerHandler triggerHandler, EvictionPolicy<T, ?> evictionPolicy) Returns aTriggerPolicywhich triggers for every count of given sliding window.
- 
getEvictionPolicyReturns anEvictionPolicyinstance which evicts elements after a count of given window length.
 
-