public class InMemoryWindowsStoreFactory extends Object implements WindowsStoreFactory
InMemoryWindowsStoreFactory contains a single instance of InMemoryWindowsStore
which will be used for storing tuples and triggers of the window. The same InMemoryWindowsStoreFactory instance is passed to WindowsStateUpdater
, which removes successfully emitted triggers from the same inMemoryWindowsStore
instance in WindowsStateUpdater.updateState(WindowsState, List, TridentCollector)
.
Constructor and Description |
---|
InMemoryWindowsStoreFactory() |
public WindowsStore create(Map stormConf)
WindowsStoreFactory
Creates a window store
create
in interface WindowsStoreFactory
stormConf
- storm topology configuration passed in TridentProcessor.prepare(Map, TopologyContext, TridentContext)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.