Package org.postgresql.util
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
-
Method Details
-
onClean
void onClean(boolean leak) throws T - Throws:
T
-