Class ThreadPoolProbeProvider


  • public class ThreadPoolProbeProvider
    extends Object
    Probe provider interface for thread pool related events.
    • Constructor Detail

      • ThreadPoolProbeProvider

        public ThreadPoolProbeProvider()
    • 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)