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.
    • Method Detail

      • gc

        void gc​(GarbageCollector.GarbageCleaner garbageCleaner)
        Do the garbage collector work.
        Parameters:
        garbageCleaner - cleaner used to clean selected garbages