Class ThreadUtils.ThreadIdPredicate

java.lang.Object
org.apache.commons.lang3.ThreadUtils.ThreadIdPredicate
All Implemented Interfaces:
ThreadUtils.ThreadPredicate
Enclosing class:
ThreadUtils

Deprecated.
Use a Predicate.
A predicate implementation which matches a thread id.
  • Constructor Details

    • ThreadIdPredicate

      public ThreadIdPredicate(long threadId)
      Deprecated.
      Predicate constructor
      Parameters:
      threadId - the threadId to match
      Throws:
      IllegalArgumentException - if the threadId is zero or negative
  • Method Details