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

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

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

origin: javaee/grizzly

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

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

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

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

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

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

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

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

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

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

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

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

Javadoc

This event may be fired when a task has been pulled from the queue and is about to be processed.

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.
  • onTaskQueueEvent
    This event may be fired when a task has been queued for processing.
  • 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
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • setContentView (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • JButton (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • From CI to AI: The AI layer in your organization
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