
de.melnichuk.events.SamplingStrategy Maven / Gradle / Ivy
package de.melnichuk.events;
import java.util.LinkedList;
/**
* a sampling strategy is used to pick a sample from a list of items or calculate one.
*
* you may want to us a custom sampling strategy to prevent a spike in your data from tampering with your observations.
*
*/
public interface SamplingStrategy {
T getSample(LinkedList items);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy