Interface Cleaner


public interface Cleaner
Wrapper for Cleaner providing registration support.
Since:
3.2.0
Author:
Phillip Webb
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Cleaner
    Provides access to the default clean instance which delegates to Cleaner.
  • Method Summary

    Modifier and Type
    Method
    Description
    register(Object obj, Runnable action)
    Registers an object and the clean action to run when the object becomes phantom reachable.