Package org.tehuti.utils

Examples of org.tehuti.utils.SystemTime


    private MetricsRepository metricsRepository;

    private static final Logger logger = Logger.getLogger(RequestCounter.class.getName());

    public RequestCounter(String name, long durationMs) {
        this(name, durationMs, new SystemTime(), false, (RequestCounter[]) null);
    }
View Full Code Here


    /**
     * @param durationMs specifies for how long you want to maintain this
     *        counter (in milliseconds).
     */
    public RequestCounter(String name, long durationMs, RequestCounter... parents) {
        this(name, durationMs, new SystemTime(), false, parents);
    }
View Full Code Here

    public RequestCounter(String name, long durationMs, RequestCounter... parents) {
        this(name, durationMs, new SystemTime(), false, parents);
    }

    public RequestCounter(String name, long durationMs, boolean useHistogram) {
        this(name, durationMs, new SystemTime(), useHistogram, (RequestCounter[]) null);
    }
View Full Code Here

     * @param durationMs specifies for how long you want to maintain this
     *        counter (in milliseconds). useHistogram indicates that this
     *        counter should also use a histogram.
     */
    public RequestCounter(String name, long durationMs, boolean useHistogram, RequestCounter... parents) {
        this(name, durationMs, new SystemTime(), useHistogram, parents);
    }
View Full Code Here

TOP

Related Classes of org.tehuti.utils.SystemTime

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.