Interface FinalizableReference

All Known Implementing Classes:
FinalizablePhantomReference, FinalizableSoftReference, FinalizableWeakReference

@Deprecated(since="2022-12-01") public interface FinalizableReference
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
Implemented by references that have code to run after garbage collection of their referents.
Since:
2.0 (imported from Google Collections Library)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created.
  • Method Details

    • finalizeReferent

      void finalizeReferent()
      Deprecated.
      Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created.