public class MulticastServiceDiscovery extends AbstractServiceDiscovery
| 构造器和说明 |
|---|
MulticastServiceDiscovery(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
org.apache.dubbo.common.URL registryURL) |
MulticastServiceDiscovery(String serviceName,
org.apache.dubbo.common.URL registryURL) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doDestroy() |
void |
doRegister(ServiceInstance serviceInstance) |
void |
doUnregister(ServiceInstance serviceInstance) |
void |
doUpdate(ServiceInstance oldServiceInstance,
ServiceInstance newServiceInstance) |
List<ServiceInstance> |
getInstances(String serviceName) |
Set<String> |
getServices() |
org.apache.dubbo.common.URL |
getUrl() |
destroy, getLocalInstance, getLocalMetadata, getLocalMetadata, getRemoteMetadata, getRemoteMetadata, isDestroy, lookup, register, register, subscribe, unregister, unregister, unsubscribe, updateaddServiceInstancesChangedListener, createListener, getDelay, removeServiceInstancesChangedListener, toStringpublic MulticastServiceDiscovery(org.apache.dubbo.rpc.model.ApplicationModel applicationModel,
org.apache.dubbo.common.URL registryURL)
public MulticastServiceDiscovery(String serviceName, org.apache.dubbo.common.URL registryURL)
public void doDestroy()
throws Exception
doDestroy 在类中 AbstractServiceDiscoveryExceptionpublic void doRegister(ServiceInstance serviceInstance) throws RuntimeException
doRegister 在类中 AbstractServiceDiscoveryRuntimeExceptionpublic void doUpdate(ServiceInstance oldServiceInstance, ServiceInstance newServiceInstance) throws RuntimeException
doUpdate 在类中 AbstractServiceDiscoveryRuntimeExceptionpublic void doUnregister(ServiceInstance serviceInstance) throws RuntimeException
doUnregister 在类中 AbstractServiceDiscoveryRuntimeExceptionpublic List<ServiceInstance> getInstances(String serviceName) throws NullPointerException
public org.apache.dubbo.common.URL getUrl()
getUrl 在接口中 ServiceDiscoverygetUrl 在类中 AbstractServiceDiscoveryCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.