sstables: introduce sstable::get_max_local_deletion_time

Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
This commit is contained in:
Raphael S. Carvalho
2017-12-04 15:37:05 -02:00
parent 18bdf496fe
commit fcdce38e7f

View File

@@ -712,6 +712,10 @@ public:
return _shards;
}
gc_clock::time_point get_max_local_deletion_time() const {
return gc_clock::time_point(gc_clock::duration(get_stats_metadata().max_local_deletion_time));
}
uint32_t get_sstable_level() const {
return get_stats_metadata().sstable_level;
}