/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool started" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStarted(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStartEvent(threadPool); } } }
/** * Notify registered {@link ConnectionProbe}s about the read event. */ protected static void notifyProbesRead(NIOConnection connection, Buffer data, int size) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onReadEvent(connection, data, size); } } }
/** * Notify registered {@link ConnectionProbe}s about the write event. */ protected static void notifyProbesWrite(NIOConnection connection, Buffer data, long size) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onWriteEvent(connection, data, size); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool stopped" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStopped(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStopEvent(threadPool); } } }
/** * Notify registered {@link ConnectionProbe}s about the read event. */ protected static void notifyProbesRead(NIOConnection connection, Buffer data, int size) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onReadEvent(connection, data, size); } } }
/** * Notify registered {@link ConnectionProbe}s about the read event. */ protected static void notifyProbesRead(NIOConnection connection, Buffer data, int size) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onReadEvent(connection, data, size); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool started" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStarted(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStartEvent(threadPool); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool started" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStarted(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStartEvent(threadPool); } } }
/** * Notify registered {@link ConnectionProbe}s about the bind event. * * @param connection the <tt>Connection</tt> event occurred on. */ protected static void notifyProbesBind(NIOConnection connection) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onBindEvent(connection); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool stopped" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStopped(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStopEvent(threadPool); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool started" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStarted(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStartEvent(threadPool); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool stopped" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStopped(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStopEvent(threadPool); } } }
/** * Notify registered {@link ConnectionProbe}s about the bind event. * * @param connection the <tt>Connection</tt> event occurred on. */ protected static void notifyProbesBind(NIOConnection connection) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onBindEvent(connection); } } }
/** * Notify registered {@link ConnectionProbe}s about the write event. */ protected static void notifyProbesWrite(NIOConnection connection, Buffer data, long size) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onWriteEvent(connection, data, size); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool started" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStarted(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStartEvent(threadPool); } } }
/** * Notify registered {@link ConnectionProbe}s about the write event. */ protected static void notifyProbesWrite(NIOConnection connection, Buffer data, long size) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onWriteEvent(connection, data, size); } } }
/** * Notify registered {@link ConnectionProbe}s about the bind event. * * @param connection the <tt>Connection</tt> event occurred on. */ protected static void notifyProbesBind(NIOConnection connection) { final ConnectionProbe[] probes = connection.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ConnectionProbe probe : probes) { probe.onBindEvent(connection); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool stopped" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStopped(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStopEvent(threadPool); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool stopped" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStopped(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStopEvent(threadPool); } } }
/** * Notify registered {@link ThreadPoolProbe}s about the "thread pool stopped" event. * * @param threadPool the {@link AbstractThreadPool} being monitored */ static void notifyThreadPoolStopped(final AbstractThreadPool threadPool) { final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe(); if (probes != null) { for (ThreadPoolProbe probe : probes) { probe.onThreadPoolStopEvent(threadPool); } } }