Class LeakHunterQuery2

  • All Implemented Interfaces:
    IQuery

    public class LeakHunterQuery2
    extends LeakHunterQuery
    Looks for leaks based on a delta in retained sizes of the dominator tree from two snapshots.
    • Field Detail

      • options

        public java.lang.String options
      • mask

        public java.util.regex.Pattern mask
      • extraReferences

        public java.lang.String[] extraReferences
      • extraReferencesListFile

        public java.io.File extraReferencesListFile
    • Constructor Detail

      • LeakHunterQuery2

        public LeakHunterQuery2()
    • 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
        Overrides:
        execute in class LeakHunterQuery
        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