Class InMemoryWindowsStoreFactory
java.lang.Object
org.apache.storm.trident.windowing.InMemoryWindowsStoreFactory
- All Implemented Interfaces:
- Serializable,- 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).- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreates a window store.
- 
Constructor Details- 
InMemoryWindowsStoreFactorypublic InMemoryWindowsStoreFactory()
 
- 
- 
Method Details- 
createDescription copied from interface:WindowsStoreFactoryCreates a window store.- Specified by:
- createin interface- WindowsStoreFactory
- Parameters:
- topoConf- storm topology configuration passed in- TridentProcessor.prepare(Map, TopologyContext, TridentContext)
 
 
-