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

netflix.ocelli.selectors.WeightSelector Maven / Gradle / Ivy

There is a newer version: 0.1.0-rc.2
Show newest version
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