Class LeakTracker.Leak

java.lang.Object
org.elasticsearch.transport.LeakTracker.Leak
All Implemented Interfaces:
Runnable
Enclosing class:
LeakTracker

public final class LeakTracker.Leak extends Object implements Runnable
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • record

      public void record()
      Adds an access record that includes the current stack trace to the leak.
    • close

      public boolean close()
      Stop tracking the object that this leak was created for.
      Returns:
      true if the leak was released by this call, false if the leak had already been released
    • toString

      public String toString()
      Overrides:
      toString in class Object