public class SinoCommandServiceManager
extends com.weibo.api.motan.registry.support.command.CommandServiceManager
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
MOTAN_COMMAND_SWITCHER |
| 构造器和说明 |
|---|
SinoCommandServiceManager(com.weibo.api.motan.rpc.URL refUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addNotifyListener(com.weibo.api.motan.registry.NotifyListener notifyListener) |
List<com.weibo.api.motan.rpc.URL> |
discoverServiceWithCommand(com.weibo.api.motan.rpc.URL serviceUrl,
Map<String,Integer> weights,
com.weibo.api.motan.registry.support.command.RpcCommand rpcCommand) |
List<com.weibo.api.motan.rpc.URL> |
discoverServiceWithCommand(com.weibo.api.motan.rpc.URL serviceUrl,
Map<String,Integer> weights,
com.weibo.api.motan.registry.support.command.RpcCommand rpcCommand,
String localIP) |
void |
notifyCommand(com.weibo.api.motan.rpc.URL serviceUrl,
String commandString) |
void |
notifyService(com.weibo.api.motan.rpc.URL serviceUrl,
com.weibo.api.motan.rpc.URL registryUrl,
List<com.weibo.api.motan.rpc.URL> urls) |
void |
removeNotifyListener(com.weibo.api.motan.registry.NotifyListener notifyListener) |
void |
setCommandCache(String command) |
void |
setRegistry(com.weibo.api.motan.registry.support.command.CommandFailbackRegistry registry) |
public SinoCommandServiceManager(com.weibo.api.motan.rpc.URL refUrl)
public void notifyService(com.weibo.api.motan.rpc.URL serviceUrl,
com.weibo.api.motan.rpc.URL registryUrl,
List<com.weibo.api.motan.rpc.URL> urls)
notifyService 在接口中 com.weibo.api.motan.registry.support.command.ServiceListenernotifyService 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic void notifyCommand(com.weibo.api.motan.rpc.URL serviceUrl,
String commandString)
notifyCommand 在接口中 com.weibo.api.motan.registry.support.command.CommandListenernotifyCommand 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic List<com.weibo.api.motan.rpc.URL> discoverServiceWithCommand(com.weibo.api.motan.rpc.URL serviceUrl, Map<String,Integer> weights, com.weibo.api.motan.registry.support.command.RpcCommand rpcCommand)
discoverServiceWithCommand 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic List<com.weibo.api.motan.rpc.URL> discoverServiceWithCommand(com.weibo.api.motan.rpc.URL serviceUrl, Map<String,Integer> weights, com.weibo.api.motan.registry.support.command.RpcCommand rpcCommand, String localIP)
discoverServiceWithCommand 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic void setCommandCache(String command)
setCommandCache 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic void addNotifyListener(com.weibo.api.motan.registry.NotifyListener notifyListener)
addNotifyListener 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic void removeNotifyListener(com.weibo.api.motan.registry.NotifyListener notifyListener)
removeNotifyListener 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerpublic void setRegistry(com.weibo.api.motan.registry.support.command.CommandFailbackRegistry registry)
setRegistry 在类中 com.weibo.api.motan.registry.support.command.CommandServiceManagerCopyright © 2024. All rights reserved.