com.sun.enterprise.v3.services.impl.monitor
Class ThreadPoolMonitor
java.lang.Object
com.sun.enterprise.v3.services.impl.monitor.ThreadPoolMonitor
- All Implemented Interfaces:
- org.glassfish.grizzly.threadpool.ThreadPoolProbe
public class ThreadPoolMonitor
- extends Object
- implements org.glassfish.grizzly.threadpool.ThreadPoolProbe
- Author:
- oleksiys
| Nested classes/interfaces inherited from interface org.glassfish.grizzly.threadpool.ThreadPoolProbe |
org.glassfish.grizzly.threadpool.ThreadPoolProbe.Adapter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPoolMonitor
public ThreadPoolMonitor(GrizzlyMonitoring grizzlyMonitoring,
String monitoringId,
org.glassfish.grizzly.threadpool.ThreadPoolConfig config)
onThreadPoolStartEvent
public void onThreadPoolStartEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool)
- Specified by:
onThreadPoolStartEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onThreadPoolStopEvent
public void onThreadPoolStopEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool)
- Specified by:
onThreadPoolStopEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onThreadAllocateEvent
public void onThreadAllocateEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Thread thread)
- Specified by:
onThreadAllocateEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onThreadReleaseEvent
public void onThreadReleaseEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Thread thread)
- Specified by:
onThreadReleaseEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onMaxNumberOfThreadsEvent
public void onMaxNumberOfThreadsEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
int maxNumberOfThreads)
- Specified by:
onMaxNumberOfThreadsEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onTaskDequeueEvent
public void onTaskDequeueEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
- Specified by:
onTaskDequeueEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onTaskCompleteEvent
public void onTaskCompleteEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
- Specified by:
onTaskCompleteEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onTaskQueueEvent
public void onTaskQueueEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
- Specified by:
onTaskQueueEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
onTaskQueueOverflowEvent
public void onTaskQueueOverflowEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool)
- Specified by:
onTaskQueueOverflowEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbe
Copyright © 2012. All Rights Reserved.