Package com.ajjpj.asysmon.measure.threadpool

Examples of com.ajjpj.asysmon.measure.threadpool.AThreadCountMeasurer


    /**
     * This is a convenience method to register thread count in all relevant places.
     */
    public synchronized ASysMonConfigBuilder withThreadCount() {
        final AThreadCountMeasurer threadCountMeasurer = new AThreadCountMeasurer();
        return withDataSink(threadCountMeasurer.counter).
               withGlobalMeasurer(threadCountMeasurer);
    }
View Full Code Here


    /**
     * This is a convenience method to register thread count in all relevant places.
     */
    public static void addThreadCountSupport(ASysMon sysMon) {
        final AThreadCountMeasurer threadCountMeasurer = new AThreadCountMeasurer();
        addScalarMeasurer(sysMon, threadCountMeasurer);
        addDataSink(sysMon, threadCountMeasurer.counter);
    }
View Full Code Here

    /**
     * This is a convenience method to register thread count in all relevant places.
     */
    public static void addThreadCountSupport(ASysMon sysMon) {
        final AThreadCountMeasurer threadCountMeasurer = new AThreadCountMeasurer();
        addGlobalMeasurer(sysMon, threadCountMeasurer);
        addDataSink(sysMon, threadCountMeasurer.counter);
    }
View Full Code Here

TOP

Related Classes of com.ajjpj.asysmon.measure.threadpool.AThreadCountMeasurer

Copyright © 2018 www.massapicom. 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.