Codota Logo
MonitorProcessorFactory
Code IndexAdd Codota to your IDE (free)

How to use
MonitorProcessorFactory
in
com.orbitz.monitoring.api

Best Java code snippets using com.orbitz.monitoring.api.MonitorProcessorFactory (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.orbitz.erma/erma-api

final MonitorProcessor[] processors = processorFactory.getProcessorsForMonitor(monitor);
origin: com.orbitz.erma/erma-api

/**
 * Shuts down the monitoring engine. This method should be called before shutting down the
 * application to give the ERMA system a chance to cleanly close all its resources.
 * <p>
 * 
 * This call disables ERMA and calls shutdown() on the {@link MonitorProcessorFactory} supplied.
 * <p>
 * 
 * <b>This method is not thread-safe.</b> Client should take care to ensure that multithreaded
 * access to this method is synchronized.
 */
public void shutdown() {
 if (running) {
  log.info("MonitoringEngine shutting down");
  globalAttributes.clear();
  monitorProcessorLevels.clear();
  monitorLevels.clear();
  running = false;
  processorFactory.shutdown();
  inheritableStrategy.shutdown();
 }
}

origin: com.orbitz.erma/erma-api

processorFactory.startup();
origin: com.orbitz.erma/erma-lib

MonitorProcessor[] processors = factory.getAllProcessors();
for (int i = 0; i < processors.length; i++) {
 MonitorProcessor processor = processors[i];
com.orbitz.monitoring.apiMonitorProcessorFactory

Javadoc

The interface that can be implemented to hook into the process of choosing the processors that are applicable for a given Monitor object.

Most used methods

  • getAllProcessors
    Retrieve an array of all the MonitorProcessors for this MPF
  • getProcessorsForMonitor
    This is the method that will return the MonitorProcessor instances that should be called to process
  • shutdown
    This is a lifecycle method that will be called when the MonitoringEngine is shutdown.
  • startup
    This is a lifecycle method that will be called when the MonitoringEngine is started.

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now