All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.addc.commons.statistcs.collector.IMbAccumulator Maven / Gradle / Ivy

Go to download

The addc-statistics library supplies classes for collecting statistics including counters, timers and accumulators and exposing these as MBeans.

There is a newer version: 2.6
Show newest version
package com.addc.commons.statistcs.collector;

/**
 * The IMbAccumulator interface defines the MBean interface for {@link Accumulator}s.
 */
public interface IMbAccumulator {

    /**
     * @return The name of this Accumulator
     */
    String getName();

    /**
     * @return The number events that were timed
     */
    long getEventCount();
    
    /**
     * Get the total accumulated as bytes/kBytes/MBytes
     * @return the total accumulated as bytes/kBytes/MBytes
     */
    String getTotal();
    
    /**
     * Get the average size of the events as bytes/kBytes/MBytes
     * @return Get the average size of the events as bytes/kBytes/MBytes
     */
    String getAverage();
    
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy