Package org.apache.commons.lang3
Class ThreadUtils.ThreadIdPredicate
java.lang.Object
org.apache.commons.lang3.ThreadUtils.ThreadIdPredicate
- All Implemented Interfaces:
- ThreadUtils.ThreadPredicate
- Enclosing class:
- ThreadUtils
@Deprecated
public static class ThreadUtils.ThreadIdPredicate
extends Object
implements ThreadUtils.ThreadPredicate
Deprecated.
A predicate implementation which matches a thread id.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ThreadIdPredicateDeprecated.Predicate constructor- Parameters:
- threadId- the threadId to match
- Throws:
- IllegalArgumentException- if the threadId is zero or negative
 
 
- 
- 
Method Details- 
testDeprecated.Description copied from interface:ThreadUtils.ThreadPredicateEvaluates this predicate on the given thread.- Specified by:
- testin interface- ThreadUtils.ThreadPredicate
- Parameters:
- thread- the thread
- Returns:
- trueif the thread matches the predicate, otherwise- false
 
 
- 
Predicate.