org.gridkit.jvmtool.stacktrace.analytics
Class BasicFilterFactory.LastFrameMatcher

java.lang.Object
  extended by org.gridkit.jvmtool.stacktrace.analytics.BasicFilterFactory.LastFrameMatcher
All Implemented Interfaces:
PositionalStackMatcher
Enclosing class:
BasicFilterFactory

protected class BasicFilterFactory.LastFrameMatcher
extends Object
implements PositionalStackMatcher


Constructor Summary
BasicFilterFactory.LastFrameMatcher(StackFrameMatcher matcher)
           
 
Method Summary
 int matchNext(ThreadSnapshot snap, int matchFrom)
          Find frame in trace matching a certain criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFilterFactory.LastFrameMatcher

public BasicFilterFactory.LastFrameMatcher(StackFrameMatcher matcher)
Method Detail

matchNext

public int matchNext(ThreadSnapshot snap,
                     int matchFrom)
Description copied from interface: PositionalStackMatcher
Find frame in trace matching a certain criteria. Return index of matched frame (which will be greater of equal matchFrom).

Specified by:
matchNext in interface PositionalStackMatcher
Returns:
frame index or -1 if not found


Copyright © 2019. All Rights Reserved.