netflix.ocelli.WeightingStrategy 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;
import java.util.List;
import netflix.ocelli.selectors.ClientsAndWeights;
import rx.functions.Func1;
/**
* Contract for strategy to determine client weights from a list of clients
*
* @author elandau
*
* @param
*/
public interface WeightingStrategy extends Func1, ClientsAndWeights> {
/**
* Run the weighting algorithm on the active set of clients and their associated statistics and
* return an object containing the weights
*/
ClientsAndWeights call(List t1);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy