com.h3c.util

## Class Kujo

- java.lang.Object
- - com.h3c.util.Kujo

-     public class Kujo
      extends Object

  Utility to hunt down threads by their name and/or terminate the rogue ones.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `bite(String regex)` Interrupts any threads whose name matches the specified regex.
    `static void` | `kill(String regex)` Stops any threads whose name matches the specified regex.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### bite

          public static void bite(String regex)

      Interrupts any threads whose name matches the specified regex.
      Parameters:
        `regex` - regular expression identifying threads to be interrupted

    - #### kill

          public static void kill(String regex)

      Stops any threads whose name matches the specified regex.
      Parameters:
        `regex` - regular expression identifying threads to be stopped

Copyright © 2014. All Rights Reserved.