public class TarsInvoker<T> extends ServantInvoker<T>
clients, config, destroyLock, index, objName| 构造器和说明 |
|---|
TarsInvoker(ServantProxyConfig config,
Class<T> api,
Url url,
ServantClient[] clients) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
doInvokeServant(ServantInvokeContext inv) |
void |
setAvailable(boolean available) |
destroy, doInvokegetApi, getUrl, invoke, isAvailable, isDestroyed, toStringpublic TarsInvoker(ServantProxyConfig config, Class<T> api, Url url, ServantClient[] clients)
public void setAvailable(boolean available)
setAvailable 在类中 AbstractInvoker<T>protected Object doInvokeServant(ServantInvokeContext inv) throws Throwable
doInvokeServant 在类中 ServantInvoker<T>ThrowableCopyright © 2020. All Rights Reserved.