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() |
| Modifier and Type | Method and Description |
|---|---|
WindowsStore |
create(Map<String,Object> topoConf)
Creates a window store.
|
public WindowsStore create(Map<String,Object> topoConf)
WindowsStoreFactoryCreates a window store.
create in interface WindowsStoreFactorytopoConf - storm topology configuration passed in TridentProcessor.prepare(Map,
TopologyContext, TridentContext)Copyright © 2020 The Apache Software Foundation. All rights reserved.