Package org.apache.samza.metrics

Examples of org.apache.samza.metrics.Counter.inc()


    Timer timer2 = registry.newTimer("testt", "b");
    Timer timer3 = registry.newTimer("testt2", "c");

    counter1.inc();
    counter2.inc(2);
    counter3.inc(4);

    gauge1.set("5");
    gauge2.set("6");
    gauge3.set("7");
    gauge4.set("8");
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.