JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.netty.util

Interface ResourceLeakTracker<T>



  • public interface ResourceLeakTracker<T>
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      boolean close (T trackedObject)
      Close the leak so that ResourceLeakTracker does not warn about leaked resources.
      void record ()
      Records the caller's current stack trace so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
      void record (java.lang.Object hint)
      Records the caller's current stack trace and the specified additional arbitrary information so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
    • Method Detail

      • record

        void record()
        Records the caller's current stack trace so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly. This method is a shortcut to record(null).
      • record

        void record(java.lang.Object hint)
        Records the caller's current stack trace and the specified additional arbitrary information so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
      • close

        boolean close(T trackedObject)
        Close the leak so that ResourceLeakTracker does not warn about leaked resources. After this method is called a leak associated with this ResourceLeakTracker should not be reported.
        Returns:
        true if called first time, false if called already
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /