Class BaseWindowConfig
java.lang.Object
org.apache.storm.trident.windowing.config.BaseWindowConfig
- All Implemented Interfaces:
- Serializable,- WindowConfig
- Direct Known Subclasses:
- SlidingCountWindow,- SlidingDurationWindow,- TumblingCountWindow,- TumblingDurationWindow
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.storm.trident.windowing.config.WindowConfigWindowConfig.Type
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final intprotected final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the sliding length of the moving window.intReturns the length of the window.voidvalidate()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.trident.windowing.config.WindowConfiggetWindowStrategy
- 
Field Details- 
windowLengthprotected final int windowLength
- 
slideLengthprotected final int slideLength
 
- 
- 
Constructor Details- 
BaseWindowConfigprotected BaseWindowConfig(int windowLength, int slideLength) 
 
- 
- 
Method Details- 
getWindowLengthpublic int getWindowLength()Description copied from interface:WindowConfigReturns the length of the window.- Specified by:
- getWindowLengthin interface- WindowConfig
 
- 
getSlidingLengthpublic int getSlidingLength()Description copied from interface:WindowConfigReturns the sliding length of the moving window.- Specified by:
- getSlidingLengthin interface- WindowConfig
 
- 
validatepublic void validate()- Specified by:
- validatein interface- WindowConfig
 
 
-