org.gridkit.jvmtool.stacktrace.analytics.PositionalStackMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sjk-stacktrace Show documentation
Show all versions of sjk-stacktrace Show documentation
Thread dumps: capture and encoding
package org.gridkit.jvmtool.stacktrace.analytics;
import org.gridkit.jvmtool.stacktrace.ThreadSnapshot;
public interface PositionalStackMatcher {
/**
* Find frame in trace matching a certain criteria.
* Return index of matched frame (which will be greater of equal matchFrom
).
*
* @return frame index or -1 if not found
*/
public int matchNext(ThreadSnapshot snap, int matchFrom);
}