Class ThreadPoolProbeProvider
- java.lang.Object
-
- com.sun.enterprise.v3.services.impl.monitor.probes.ThreadPoolProbeProvider
-
public class ThreadPoolProbeProvider extends Object
Probe provider interface for thread pool related events.
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolProbeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
maxNumberOfThreadsReachedEvent(String monitoringId, org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool, int maxNumberOfThreads)
void
setCoreThreadsEvent(String monitoringId, int coreNumberOfThreads)
void
setMaxThreadsEvent(String monitoringId, int maxNumberOfThreads)
void
threadAllocatedEvent(String monitoringId, org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool, long threadId)
Emits notification that new thread was created and added to the thread pool.void
threadDispatchedFromPoolEvent(String monitoringId, long threadId)
void
threadReleasedEvent(String monitoringId, org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool, long threadId)
void
threadReturnedToPoolEvent(String monitoringId, long threadId)
-
-
-
Method Detail
-
setMaxThreadsEvent
public void setMaxThreadsEvent(String monitoringId, int maxNumberOfThreads)
-
setCoreThreadsEvent
public void setCoreThreadsEvent(String monitoringId, int coreNumberOfThreads)
-
threadAllocatedEvent
public void threadAllocatedEvent(String monitoringId, org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool, long threadId)
Emits notification that new thread was created and added to the thread pool.
-
threadReleasedEvent
public void threadReleasedEvent(String monitoringId, org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool, long threadId)
-
maxNumberOfThreadsReachedEvent
public void maxNumberOfThreadsReachedEvent(String monitoringId, org.glassfish.grizzly.threadpool.AbstractThreadPool threadPool, int maxNumberOfThreads)
-
threadDispatchedFromPoolEvent
public void threadDispatchedFromPoolEvent(String monitoringId, long threadId)
-
threadReturnedToPoolEvent
public void threadReturnedToPoolEvent(String monitoringId, long threadId)
-
-