public class ThreadInfoPredicate extends Object implements com.google.common.base.Predicate<ThreadInfo>
Constructor and Description |
---|
ThreadInfoPredicate(Pattern threadClassNamePattern,
Pattern threadNamePattern,
Pattern threadGroupPattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ThreadInfo threadInfo) |
static com.google.common.base.Predicate<ThreadInfo> |
matchClass(String threadClassNamePattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchClassAndName(String threadClassNamePattern,
String threadNamePattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchClassAndNameAndGroup(String threadClassNamePattern,
String threadNamePattern,
String threadGroupPattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchClassLoaderClassName(String pattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchGroup(String threadGroupPattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchName(String threadNamePattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchNameAndGroup(String threadNamePattern,
String threadGroupPattern) |
static com.google.common.base.Predicate<ThreadInfo> |
matchState(Thread.State state) |
public static com.google.common.base.Predicate<ThreadInfo> matchClass(String threadClassNamePattern)
public static com.google.common.base.Predicate<ThreadInfo> matchName(String threadNamePattern)
public static com.google.common.base.Predicate<ThreadInfo> matchGroup(String threadGroupPattern)
public static com.google.common.base.Predicate<ThreadInfo> matchClassLoaderClassName(String pattern)
public static com.google.common.base.Predicate<ThreadInfo> matchClassAndName(String threadClassNamePattern, String threadNamePattern)
public static com.google.common.base.Predicate<ThreadInfo> matchNameAndGroup(String threadNamePattern, String threadGroupPattern)
public static com.google.common.base.Predicate<ThreadInfo> matchClassAndNameAndGroup(String threadClassNamePattern, String threadNamePattern, String threadGroupPattern)
public static com.google.common.base.Predicate<ThreadInfo> matchState(Thread.State state)
public boolean apply(ThreadInfo threadInfo)
apply
in interface com.google.common.base.Predicate<ThreadInfo>
Copyright © 2002-2018 Atlassian. All Rights Reserved.