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

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

protected static class BasicFilterFactory.FollowedPredicate
extends Object
implements ThreadSnapshotFilter, PositionalStackMatcher


Constructor Summary
BasicFilterFactory.FollowedPredicate(PositionalStackMatcher matcher, ThreadSnapshotFilter tailFilter)
           
 
Method Summary
 boolean evaluate(ThreadSnapshot snapshot)
           
 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.FollowedPredicate

public BasicFilterFactory.FollowedPredicate(PositionalStackMatcher matcher,
                                            ThreadSnapshotFilter tailFilter)
Method Detail

evaluate

public boolean evaluate(ThreadSnapshot snapshot)
Specified by:
evaluate in interface ThreadSnapshotFilter

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.