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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThreadPoolEvent type enumeration. -
Constructor Summary
ConstructorsConstructorDescriptionThreadPoolEvent(ThreadPool threadPool, ThreadPoolEvent.Type type) Construct a ThreadPoolEvent of a certain type. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ThreadPoolEvent
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
Get the ThreadPoolEvent type.- Returns:
- the ThreadPoolEvent type
-
toString
public String toString()- Overrides:
toStringin classObject
-