| 限定符和类型 | 方法和说明 |
|---|---|
RemoteInvoker |
classLoader(ClassLoader classLoader) |
static RemoteInvoker |
create(Remote remote) |
<T> T |
get(Class<T> serviceClass) |
RemoteInvoker |
serviceName(String serviceName) |
RemoteInvoker |
timeout(int timeout)
设置超时时间,0表示永不超时。
|
public static RemoteInvoker create(Remote remote)
public RemoteInvoker serviceName(String serviceName)
serviceName - public RemoteInvoker classLoader(ClassLoader classLoader)
classLoader - public RemoteInvoker timeout(int timeout)
timeout - public <T> T get(Class<T> serviceClass)
serviceClass - Copyright © 2016. All rights reserved.