public class ThreadPoolMonitor extends Object implements org.glassfish.grizzly.threadpool.ThreadPoolProbe
| Constructor and Description |
|---|
ThreadPoolMonitor(GrizzlyMonitoring grizzlyMonitoring,
String monitoringId,
org.glassfish.grizzly.threadpool.ThreadPoolConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
onMaxNumberOfThreadsEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
int maxNumberOfThreads) |
void |
onTaskCancelEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task) |
void |
onTaskCompleteEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task) |
void |
onTaskDequeueEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task) |
void |
onTaskQueueEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task) |
void |
onTaskQueueOverflowEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool) |
void |
onThreadAllocateEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Thread thread) |
void |
onThreadPoolStartEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool) |
void |
onThreadPoolStopEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool) |
void |
onThreadReleaseEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Thread thread) |
public ThreadPoolMonitor(GrizzlyMonitoring grizzlyMonitoring, String monitoringId, org.glassfish.grizzly.threadpool.ThreadPoolConfig config)
public void onThreadPoolStartEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool)
onThreadPoolStartEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onThreadPoolStopEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool)
onThreadPoolStopEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onThreadAllocateEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Thread thread)
onThreadAllocateEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onThreadReleaseEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Thread thread)
onThreadReleaseEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onMaxNumberOfThreadsEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
int maxNumberOfThreads)
onMaxNumberOfThreadsEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onTaskDequeueEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
onTaskDequeueEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onTaskCancelEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
onTaskCancelEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onTaskCompleteEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
onTaskCompleteEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onTaskQueueEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool,
Runnable task)
onTaskQueueEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbepublic void onTaskQueueOverflowEvent(org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool)
onTaskQueueOverflowEvent in interface org.glassfish.grizzly.threadpool.ThreadPoolProbeCopyright © 2019. All rights reserved.