Interface LazyCleaner.CleaningAction<T extends Throwable>

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

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

    Modifier and Type
    Method
    Description
    void
    onClean(boolean leak)
     
  • Method Details

    • onClean

      void onClean(boolean leak) throws T
      Throws:
      T