Tabnine Logo
ThreadPoolProbe.onTaskQueueEvent
Code IndexAdd Tabnine to your IDE (free)

How to use
onTaskQueueEvent
method
in
org.glassfish.grizzly.threadpool.ThreadPoolProbe

Best Java code snippets using org.glassfish.grizzly.threadpool.ThreadPoolProbe.onTaskQueueEvent (Showing top 12 results out of 315)

origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * Notify registered {@link ThreadPoolProbe}s about the "task queued" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param task a unit of work to be processed
 */
static void notifyTaskQueued(final AbstractThreadPool threadPool,
    final Runnable task) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onTaskQueueEvent(threadPool, task);
    }
  }
}
org.glassfish.grizzly.threadpoolThreadPoolProbeonTaskQueueEvent

Javadoc

This event may be fired when a task has been queued for processing.

Popular methods of ThreadPoolProbe

  • onMaxNumberOfThreadsEvent
    This event may be fired when the AbstractThreadPool implementation has allocated and is managing a
  • onTaskCancelEvent
    This event may be fired when a dequeued task has been canceled. This event can occur during shutdo
  • onTaskCompleteEvent
    This event may be fired when a dequeued task has completed processing.
  • onTaskDequeueEvent
    This event may be fired when a task has been pulled from the queue and is about to be processed.
  • onTaskQueueOverflowEvent
    This event may be fired when the task queue of the AbstractThreadPoolimplementation has exceeded it
  • onThreadAllocateEvent
    This event may be fired when an AbstractThreadPool implementation allocates a new managed Thread.
  • onThreadPoolStartEvent
    This event may be fired when an AbstractThreadPool implementation starts running.
  • onThreadPoolStopEvent
    This event may be fired when an AbstractThreadPool implementation stops.
  • onThreadReleaseEvent
    This event may be fired when a thread will no longer be managed by the AbstractThreadPool implement

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • getSupportFragmentManager (FragmentActivity)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JButton (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now