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)
WindowsStoreFactory
Creates a window store.
create
in interface WindowsStoreFactory
topoConf
- storm topology configuration passed in TridentProcessor.prepare(Map,
TopologyContext, TridentContext)
Copyright © 2019 The Apache Software Foundation. All rights reserved.