public class MeshRegistryHelper extends Object
| 构造器和说明 |
|---|
MeshRegistryHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
buildMeshKey(AbstractInterfaceConfig config,
String protocol)
配置中心的Key
|
static boolean |
checkModified(String address,
long updateDate)
Check file's lastmodified.
|
static ProviderInfo |
convertProviderToProviderInfo(ProviderConfig config,
ServerConfig server)
转为服务端提供者对象
|
public static boolean checkModified(String address, long updateDate)
address - the addressupdateDate - the update datepublic static ProviderInfo convertProviderToProviderInfo(ProviderConfig config, ServerConfig server)
config - 服务提供者配置server - 服务端public static String buildMeshKey(AbstractInterfaceConfig config, String protocol)
config - 配置protocol - 协议Copyright © 2008–2018 The Ant Financial. All rights reserved.