Examples of PerformanceCounter


Examples of com.opengamma.util.PerformanceCounter

   * @param isPerformanceCountingEnabled whether to track the message rate here, see {@link #getNumLiveDataUpdatesSentPerSecondOverLastMinute()}
   */
  protected StandardLiveDataServer(CacheManager cacheManager, boolean isPerformanceCountingEnabled) {
    ArgumentChecker.notNull(cacheManager, "cacheManager");
    _cacheManager = cacheManager;
    _performanceCounter = isPerformanceCountingEnabled ? new PerformanceCounter(60) : null;
  }
View Full Code Here

Examples of org.apache.camel.api.management.PerformanceCounter

        if (target instanceof InstrumentationProcessor) {
            return target;
        }

        // only wrap a performance counter if we have it registered in JMX by the jmx agent
        PerformanceCounter counter = registeredCounters.get(definition);
        if (counter != null) {
            InstrumentationProcessor wrapper = new InstrumentationProcessor(counter);
            wrapper.setProcessor(target);
            wrapper.setType(definition.getShortName());
View Full Code Here

Examples of org.apache.camel.api.management.PerformanceCounter

        if (target instanceof InstrumentationProcessor) {
            return target;
        }

        // only wrap a performance counter if we have it registered in JMX by the jmx agent
        PerformanceCounter counter = registeredCounters.get(definition);
        if (counter != null) {
            InstrumentationProcessor wrapper = new InstrumentationProcessor(counter);
            wrapper.setProcessor(target);
            wrapper.setType(definition.getShortName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.