Module openj9.dtfj

Interface SearchListener


  • public interface SearchListener
    This interface is used when searching a dump or an address space to report back when a match is found.
    • Method Detail

      • getPattern

        byte[] getPattern()
        This method determines the pattern to be searched for. This is called before the search begins.
        Returns:
        the pattern of bytes to search for
      • foundMatch

        boolean foundMatch​(AddressSpace space,
                           long address)
        Called to report a match has been found. The listener must return true to continue the search.
        Parameters:
        space - the AddressSpace in which the match was found
        address - the address where the match was found
        Returns:
        true if the search is to continue