Class ThreadFilter


  • public class ThreadFilter
    extends java.lang.Object
    class to retrieve threads
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Thread getThread​(java.lang.String regexp, int nSkip)
      get a Vector of matching threads by name
      java.util.Vector<java.lang.Thread> getThreads​(java.lang.String regexp)
      get a Vector of matching threads by name
      int numThreads()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadFilter

        public ThreadFilter()
    • 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 against
        nSkip - which one?
        Returns:
      • numThreads

        public int numThreads()
        Returns:
        the total number of available threads