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

se.l4.vibe.percentile.PercentileCounter Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package se.l4.vibe.percentile;

/**
 * Counter for helping with calculating percentiles.
 * 
 * @author Andreas Holstenson
 *
 */
public interface PercentileCounter
{
	/**
	 * Add a value to this counter.
	 * 
	 * @param value
	 */
	void add(long value);
	
	/**
	 * Get a snapshot of the counter.
	 * 
	 * @return
	 */
	PercentileSnapshot get();
	
	/**
	 * Reset the counter.
	 * 
	 */
	void reset();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy