netflix.ocelli.selectors.WeightSelector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ocelli-core Show documentation
Show all versions of ocelli-core Show documentation
ocelli-core developed by Netflix
package netflix.ocelli.selectors;
import java.util.List;
import rx.functions.Func2;
/**
* Plugable function for selecting an index from an array of weights
*
* Integer[] - Array of accumulated weights with each cell corresponding to a Client
* Integer - Maximum number of weights (not clients)
* Integer - Index of selected cell
*
* @author elandau
*
*/
public interface WeightSelector extends Func2, Integer, Integer> {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy