Package com.sas.iom.orb

# Class ThreadPoolEvent

java.lang.Object
com.sas.iom.orb.ThreadPoolEvent

public class ThreadPoolEvent extends Object
An event sent to ThreadPool event listeners to inform them of a change in ThreadPool status.

See Also:
  - `ThreadPool`
  - `ThreadPoolEventListenerInterface`

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `ThreadPoolEvent.Type`
  ThreadPoolEvent type enumeration.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ThreadPoolEvent(ThreadPool threadPool, ThreadPoolEvent.Type type)`
  Construct a ThreadPoolEvent of a certain type.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ThreadPool`
  `getThreadPool()`
  Get the ThreadPool that fired the event.
  `ThreadPoolEvent.Type`
  `getType()`
  Get the ThreadPoolEvent type.
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### ThreadPoolEvent

    public ThreadPoolEvent(ThreadPool threadPool, ThreadPoolEvent.Type type)
    Construct a ThreadPoolEvent of a certain type.
    Parameters:
      `type` - the event type

- ## Method Details

  - ### getThreadPool

    public ThreadPool getThreadPool()
    Get the ThreadPool that fired the event.
    Returns:
      the ThreadPool that fired the event

  - ### getType

    public ThreadPoolEvent.Type getType()
    Get the ThreadPoolEvent type.
    Returns:
      the ThreadPoolEvent type

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`