Class SSTableAddedNotification
java.lang.Object
org.apache.cassandra.notifications.SSTableAddedNotification
- All Implemented Interfaces:
INotification
Notification sent after SSTables are added to their
ColumnFamilyStore.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSSTableAddedNotification(Iterable<SSTableReader> added, Memtable memtable) Creates a newSSTableAddedNotificationfor the specified SSTables and optional memtable. -
Method Summary
-
Field Details
-
added
The added SSTables
-
-
Constructor Details
-
SSTableAddedNotification
Creates a newSSTableAddedNotificationfor the specified SSTables and optional memtable.- Parameters:
added- the added SSTablesmemtable- the memtable from which the tables come when they have been added due to a memtable flush, ornullif they don't come from a flush
-
-
Method Details
-
memtable
Returns the memtable from which the tables come when they have been added due to a memtable flush. If not, an empty Optional should be returned.- Returns:
- the origin memtable in case of a flush,
Optional.empty()otherwise
-