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

com.nepxion.discovery.plugin.framework.loadbalance.WeightRandomLoadBalance Maven / Gradle / Ivy

package com.nepxion.discovery.plugin.framework.loadbalance;

/**
 * 

Title: Nepxion Discovery

*

Description: Nepxion Discovery

*

Copyright: Copyright (c) 2017-2050

*

Company: Nepxion

* @author Haojun Ren * @version 1.0 */ import java.util.List; import com.netflix.loadbalancer.Server; public interface WeightRandomLoadBalance { T getT(); int getWeight(Server server, T t); boolean checkWeight(List serverList, T t); Server choose(List serverList, T t); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy