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

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

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

origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: org.glassfish.grizzly/grizzly-core

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
origin: javaee/grizzly

/**
 * Notify registered {@link ThreadPoolProbe}s about the "thread allocated" event.
 *
 * @param threadPool the {@link AbstractThreadPool} being monitored
 * @param thread the thread that has been allocated
 */
static void notifyThreadAllocated(final AbstractThreadPool threadPool,
    final Thread thread) {
  final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
  if (probes != null) {
    for (ThreadPoolProbe probe : probes) {
      probe.onThreadAllocateEvent(threadPool, thread);
    }
  }
}
org.glassfish.grizzly.threadpoolThreadPoolProbeonThreadAllocateEvent

Javadoc

This event may be fired when an AbstractThreadPool implementation allocates a new managed Thread.

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.
  • 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
  • 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

  • Making http requests using okhttp
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • Menu (java.awt)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Collectors (java.util.stream)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top PhpStorm plugins
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