org.gridkit.jvmtool.stacktrace.analytics
Class BasicFilterFactory.FollowedPredicate
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicFilterFactory.FollowedPredicate
public BasicFilterFactory.FollowedPredicate(PositionalStackMatcher matcher,
ThreadSnapshotFilter tailFilter)
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.