Package org.cip4.jdflib.util.thread
Class ThreadFilter
- java.lang.Object
-
- org.cip4.jdflib.util.thread.ThreadFilter
-
public class ThreadFilter extends java.lang.Objectclass to retrieve threads
-
-
Constructor Summary
Constructors Constructor Description ThreadFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThreadgetThread(java.lang.String regexp, int nSkip)get a Vector of matching threads by namejava.util.Vector<java.lang.Thread>getThreads(java.lang.String regexp)get a Vector of matching threads by nameintnumThreads()
-
-
-
Method Detail
-
getThreads
public java.util.Vector<java.lang.Thread> getThreads(java.lang.String regexp)
get a Vector of matching threads by name- Parameters:
regexp- the expression to match against- Returns:
-
getThread
public java.lang.Thread getThread(java.lang.String regexp, int nSkip)get a Vector of matching threads by name- Parameters:
regexp- the expression to match againstnSkip- which one?- Returns:
-
numThreads
public int numThreads()
- Returns:
- the total number of available threads
-
-