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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
foundMatch(AddressSpace space, long address)
Called to report a match has been found.byte[]
getPattern()
This method determines the pattern to be searched for.
-
-
-
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
- theAddressSpace
in which the match was foundaddress
- the address where the match was found- Returns:
- true if the search is to continue
-
-