public class ServiceManagerStaticConfigImpl extends Object implements ServiceManager
| 构造器和说明 |
|---|
ServiceManagerStaticConfigImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
lookup(String txServiceGroup)
Lookup server addresses for the given txServiceGroup
|
void |
register(String txServiceGroup,
String address)
Register address to txServiceGroup server list.
|
void |
unregister(String txServiceGroup,
String address)
Unregister address to txServiceGroup server list.
|
void |
watch(String txServiceGroup,
AddressWatcher watcher)
Watch service addresses for the give txServiceGroup
|
public void register(String txServiceGroup, String address)
ServiceManagerregister 在接口中 ServiceManagertxServiceGroup - transaction service group (service name)address - server node addresspublic void unregister(String txServiceGroup, String address)
ServiceManagerunregister 在接口中 ServiceManagertxServiceGroup - transaction service group (service name)address - server node addresspublic void watch(String txServiceGroup, AddressWatcher watcher)
ServiceManagerwatch 在接口中 ServiceManagertxServiceGroup - transaction service group (service name)watcher - service address watcherpublic String[] lookup(String txServiceGroup)
ServiceManagerlookup 在接口中 ServiceManagertxServiceGroup - transaction service group (service name)Copyright © 2019 Alibaba Group. All rights reserved.