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

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

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

origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: org.glassfish.grizzly/grizzly-http-server-core

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: org.mule.glassfish.grizzly/grizzly-framework

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: org.glassfish.grizzly/grizzly-websockets-server

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: javaee/grizzly

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
origin: org.glassfish.grizzly/grizzly-core

  /**
   * Notify registered {@link ThreadPoolProbe}s about the "task queue overflow" event.
   *
   * @param threadPool the {@link AbstractThreadPool} being monitored
   */
  static void notifyTaskQueueOverflow(final AbstractThreadPool threadPool) {

    final ThreadPoolProbe[] probes = threadPool.monitoringConfig.getProbesUnsafe();
    if (probes != null) {
      for (ThreadPoolProbe probe : probes) {
        probe.onTaskQueueOverflowEvent(threadPool);
      }
    }
  }
}
org.glassfish.grizzly.threadpoolThreadPoolProbeonTaskQueueOverflowEvent

Javadoc

This event may be fired when the task queue of the AbstractThreadPoolimplementation has exceeded its configured size.

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

  • Making http requests using okhttp
  • putExtra (Intent)
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • 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