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

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

package com.addc.commons.statistcs.collector;

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

    /**
     * @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