Interface TrackedWebResource

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable

    public interface TrackedWebResource
    extends java.io.Closeable
    Represents a web resource that tracks its creation source for leak detection.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Exception getCreatedBy()
      Returns the stack trace of the code that created this resource.
      java.lang.String getName()
      Returns the name of this resource.
      • Methods inherited from interface java.io.Closeable

        close
    • Method Detail

      • getCreatedBy

        java.lang.Exception getCreatedBy()
        Returns the stack trace of the code that created this resource.
        Returns:
        the creation stack trace
      • getName

        java.lang.String getName()
        Returns the name of this resource.
        Returns:
        the resource name