public interface LoadBalance<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
refresh(Collection<Invoker<T>> invokers)
Refresh local invoker
|
Invoker<T> |
select(InvokeContext invokeContext)
Use load balancing to select invoker
|
Invoker<T> select(InvokeContext invokeContext) throws NoInvokerException
invokeContext - NoInvokerExceptionvoid refresh(Collection<Invoker<T>> invokers)
invokers - Copyright © 2020. All Rights Reserved.