public abstract class AbstractRegistryFactory extends Object implements RegistryFactory
RegistryFactory| 构造器和说明 |
|---|
AbstractRegistryFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
destroyAll()
Close all created registries
|
static Collection<Registry> |
getRegistries()
Get all registries
|
Registry |
getRegistry(URL url)
Connect to the registry
Connecting the registry needs to support the contract:
1. |
public static Collection<Registry> getRegistries()
public static void destroyAll()
public Registry getRegistry(URL url)
RegistryFactory
Connecting the registry needs to support the contract:
1. When the check=false is set, the connection is not checked, otherwise the exception is thrown when disconnection
2. Support username:password authority authentication on URL.
3. Support the backup=10.20.153.10 candidate registry cluster address.
4. Support file=registry.cache local disk file cache.
5. Support the timeout=1000 request timeout setting.
6. Support session=60000 session timeout or expiration settings.
getRegistry 在接口中 RegistryFactoryurl - Registry address, is not allowed to be emptyCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.