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

se.l4.vibe.probes.SampleOperation Maven / Gradle / Ivy

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

import java.util.Collection;

/**
 * Operation that performs all calculations for the probe.
 * 
 * @author Andreas Holstenson
 *
 * @param 
 * @param 
 */
public interface SampleOperation
{
	/**
	 * A value has been removed.
	 * 
	 * @param value
	 * 		the actual value that was removed
	 * @param entries
	 * 		collection with all of the entries
	 */
	void remove(Input value, Collection> entries);

	/**
	 * A value has been added.
	 * 
	 * @param value
	 * 		the actual value that was added
	 * @param entries
	 * 		collection with all of the entries
	 */
	void add(Input value, Collection> entries);

	/**
	 * Get the current calculated value.
	 * 
	 * @return
	 */
	Output get();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy