public static class ThreadUtils.ThreadIdPredicate extends Object implements ThreadUtils.ThreadPredicate
| Constructor and Description |
|---|
ThreadUtils.ThreadIdPredicate(long threadId)
Predicate constructor
|
public ThreadUtils.ThreadIdPredicate(long threadId)
threadId - the threadId to matchIllegalArgumentException - if the threadId is zero or negativepublic boolean test(Thread thread)
ThreadUtils.ThreadPredicatetest in interface ThreadUtils.ThreadPredicatethread - the threadtrue if the thread matches the predicate, otherwise falseCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.