Class ReferenceLeakQuery

  • All Implemented Interfaces:
    IQuery

    public class ReferenceLeakQuery
    extends java.lang.Object
    implements IQuery
    Extract information about objects referenced by java.lang.ref.Reference, e.g. weak and soft references, and Finalizer which are also strongly held by the reference, so causing a possible leak.
    • Field Detail

      • referent_attribute

        public java.lang.String referent_attribute
      • maxresults

        public int maxresults
      • maxpaths

        public int maxpaths
      • maxobjs

        public int maxobjs
      • factor

        public double factor
    • Constructor Detail

      • ReferenceLeakQuery

        public ReferenceLeakQuery()
    • Method Detail

      • execute

        public IResult execute​(IProgressListener listener)
                        throws java.lang.Exception
        Description copied from interface: IQuery
        The execute method is called after all arguments have been injected into the query instance. Typical results are TextResult, CompositeResult, SectionSpec etc.
        Specified by:
        execute in interface IQuery
        Parameters:
        listener - Monitor to report progress and check for cancellation.
        Returns:
        The result of the query.
        Throws:
        java.lang.Exception - if something went wrong running the query