Interface LeakTracker<T>

Type Parameters:
T - Type to track

public interface LeakTracker<T>
Platform-agnostic leak tracking API. Currently only implemented when netty is available.
Since:
5.0.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(T trackedObject)
    Close this tracker.
  • Method Details

    • close

      void close(T trackedObject)
      Close this tracker. May be called multiple times (idempotent).
      Parameters:
      trackedObject - The tracked object, must match the one passed to LeakTracker.Factory.track(Object)