Package org.apache.bookkeeper.bookie
Interface GarbageCollector
-
- All Known Implementing Classes:
ScanAndCompareGarbageCollector
public interface GarbageCollector
This is the garbage collector interface, garbage collector implementers need to extends this class to remove the deleted ledgers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
GarbageCollector.GarbageCleaner
A interface used to define customised garbage cleaner.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
gc(GarbageCollector.GarbageCleaner garbageCleaner)
Do the garbage collector work.
-
-
-
Method Detail
-
gc
void gc(GarbageCollector.GarbageCleaner garbageCleaner)
Do the garbage collector work.- Parameters:
garbageCleaner
- cleaner used to clean selected garbages
-
-