Interface LazyCleaner.CleaningAction<T extends java.lang.Throwable>

  • Type Parameters:
    T - the type of exception that can be thrown during cleanup
    Enclosing interface:
    LazyCleaner

    public static interface LazyCleaner.CleaningAction<T extends java.lang.Throwable>
    CleaningAction interface for cleanup actions that are notified whether cleanup occurred due to a leak (automatic) or manual cleanup.
    • Method Detail

      • onClean

        void onClean​(boolean leak)
              throws T extends java.lang.Throwable
        Throws:
        T extends java.lang.Throwable