/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "max number of threads reached" event. * * @param threadPool the {@link AbstractThreadPool} being monitored * @param maxNumberOfThreads the maximum number of threads allowed in the * {@link AbstractThreadPool} */ static void notifyMaxNumberOfThreads(final AbstractThreadPool threadPool, final int maxNumberOfThreads) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onMaxNumberOfThreadsEvent(threadPool, maxNumberOfThreads); } } }