com.sun.enterprise.v3.services.impl.monitor.probes
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.
|
Method Summary |
void |
maxNumberOfThreadsReachedEvent(String monitoringId,
String threadPoolName,
int maxNumberOfThreads)
|
void |
setCoreThreadsEvent(String monitoringId,
String threadPoolName,
int coreNumberOfThreads)
|
void |
setMaxThreadsEvent(String monitoringId,
String threadPoolName,
int maxNumberOfThreads)
|
void |
threadAllocatedEvent(String monitoringId,
String threadPoolName,
long threadId)
Emits notification that new thread was created and added to the
thread pool. |
void |
threadDispatchedFromPoolEvent(String monitoringId,
String threadPoolName,
long threadId)
|
void |
threadReleasedEvent(String monitoringId,
String threadPoolName,
long threadId)
|
void |
threadReturnedToPoolEvent(String monitoringId,
String threadPoolName,
long threadId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPoolProbeProvider
public ThreadPoolProbeProvider()
setMaxThreadsEvent
public void setMaxThreadsEvent(String monitoringId,
String threadPoolName,
int maxNumberOfThreads)
setCoreThreadsEvent
public void setCoreThreadsEvent(String monitoringId,
String threadPoolName,
int coreNumberOfThreads)
threadAllocatedEvent
public void threadAllocatedEvent(String monitoringId,
String threadPoolName,
long threadId)
- Emits notification that new thread was created and added to the
thread pool.
threadReleasedEvent
public void threadReleasedEvent(String monitoringId,
String threadPoolName,
long threadId)
maxNumberOfThreadsReachedEvent
public void maxNumberOfThreadsReachedEvent(String monitoringId,
String threadPoolName,
int maxNumberOfThreads)
threadDispatchedFromPoolEvent
public void threadDispatchedFromPoolEvent(String monitoringId,
String threadPoolName,
long threadId)
threadReturnedToPoolEvent
public void threadReturnedToPoolEvent(String monitoringId,
String threadPoolName,
long threadId)
Copyright © 2012. All Rights Reserved.