Interface AsynchronousFinalizer.Job

  • Enclosing class:
    AsynchronousFinalizer

    public static interface AsynchronousFinalizer.Job
    An interface to represent bodies of finalize methods. Similar to Runnable, except that the run method may throw any Throwable (which is effectively ignored by AsynchronousFinalizer.add, similar to any Throwables raised by finalize being ignored).
    • Method Detail

      • run

        void run()
          throws java.lang.Throwable
        Throws:
        java.lang.Throwable