Interface Cleaner

  • All Superinterfaces:
    Runnable
    All Known Implementing Classes:
    MemoryMappedFileCleaner, OffHeapMemoryCleaner

    public interface Cleaner
    extends Runnable
    A cleaner is a Runnable that 'cleans' the ressources associated to a referent. IMPORTANT: cleaners MUST NOT have a reference of the object that they clean ressources for. Otherwise, these objects will never be garbage collected...
    Author:
    royer
    • Method Detail

      • run

        void run()
        Specified by:
        run in interface Runnable