public interface IStatefulWindowedBolt<T extends State> extends IStatefulComponent<T>, IWindowedBolt
A windowed bolt abstraction for supporting windowing operation with state.
| Modifier and Type | Method and Description | 
|---|---|
| default boolean | isPersistent()If the stateful windowed bolt should have its windows persisted in state and maintain a subset of events in memory. | 
| default long | maxEventsInMemory()The maximum number of window events to keep in memory. | 
initState, preCommit, prePrepare, preRollbackcleanup, execute, getTimestampExtractor, preparedeclareOutputFields, getComponentConfigurationdefault boolean isPersistent()
If the stateful windowed bolt should have its windows persisted in state and maintain a subset of events in memory.
The default is to keep all the window events in memory.
default long maxEventsInMemory()
The maximum number of window events to keep in memory.
Copyright © 2020 The Apache Software Foundation. All rights reserved.