Class InMemoryWindowsStore
java.lang.Object
org.apache.storm.trident.windowing.InMemoryWindowsStore
- All Implemented Interfaces:
- Serializable,- WindowsStore
Inmemory store implementation of 
WindowsStore which can be backed by persistent store.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.storm.trident.windowing.WindowsStoreWindowsStore.Entry
- 
Field SummaryFields inherited from interface org.apache.storm.trident.windowing.WindowsStoreKEY_SEPARATOR
- 
Constructor SummaryConstructorsConstructorDescriptionInMemoryWindowsStore(int maxSize, WindowsStore backingStore) Creates a new in-memory window store.
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidputAll(Collection<WindowsStore.Entry> entries) voidvoidremoveAll(Collection<String> keys) voidshutdown()toString()
- 
Constructor Details- 
InMemoryWindowsStorepublic InMemoryWindowsStore()
- 
InMemoryWindowsStoreCreates a new in-memory window store.- Parameters:
- maxSize- maximum size of inmemory store
- backingStore- backing store containing the entries
 
 
- 
- 
Method Details- 
get- Specified by:
- getin interface- WindowsStore
 
- 
get- Specified by:
- getin interface- WindowsStore
 
- 
getAllKeys- Specified by:
- getAllKeysin interface- WindowsStore
 
- 
put- Specified by:
- putin interface- WindowsStore
 
- 
putAll- Specified by:
- putAllin interface- WindowsStore
 
- 
remove- Specified by:
- removein interface- WindowsStore
 
- 
removeAll- Specified by:
- removeAllin interface- WindowsStore
 
- 
shutdownpublic void shutdown()- Specified by:
- shutdownin interface- WindowsStore
 
- 
toString
 
-