public class MulticastRegistry extends FailbackRegistry
| 构造器和说明 |
|---|
MulticastRegistry(org.apache.dubbo.common.URL url) |
MulticastRegistry(org.apache.dubbo.common.URL url,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
Remove the expired providers(if clean is true), leave the multicast group and close the multicast socket.
|
void |
doRegister(org.apache.dubbo.common.URL url) |
void |
doSubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener) |
void |
doUnregister(org.apache.dubbo.common.URL url) |
void |
doUnsubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener) |
MulticastSocket |
getMulticastSocket() |
Map<org.apache.dubbo.common.URL,Set<org.apache.dubbo.common.URL>> |
getReceived() |
boolean |
isAvailable() |
List<org.apache.dubbo.common.URL> |
lookup(org.apache.dubbo.common.URL url) |
void |
register(org.apache.dubbo.common.URL url) |
void |
subscribe(org.apache.dubbo.common.URL url,
NotifyListener listener) |
void |
unregister(org.apache.dubbo.common.URL url) |
void |
unsubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener) |
reExportRegister, reExportUnregister, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTaskdoSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, toStringgetDelay, isServiceDiscoverypublic MulticastRegistry(org.apache.dubbo.common.URL url,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public MulticastRegistry(org.apache.dubbo.common.URL url)
public void doRegister(org.apache.dubbo.common.URL url)
doRegister 在类中 FailbackRegistrypublic void doUnregister(org.apache.dubbo.common.URL url)
doUnregister 在类中 FailbackRegistrypublic void doSubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener)
doSubscribe 在类中 FailbackRegistrypublic void doUnsubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener)
doUnsubscribe 在类中 FailbackRegistrypublic boolean isAvailable()
public void destroy()
destroy 在接口中 org.apache.dubbo.common.Nodedestroy 在类中 FailbackRegistrypublic void register(org.apache.dubbo.common.URL url)
register 在接口中 RegistryServiceregister 在类中 FailbackRegistrypublic void unregister(org.apache.dubbo.common.URL url)
unregister 在接口中 RegistryServiceunregister 在类中 FailbackRegistrypublic void subscribe(org.apache.dubbo.common.URL url,
NotifyListener listener)
subscribe 在接口中 RegistryServicesubscribe 在类中 FailbackRegistrypublic void unsubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener)
unsubscribe 在接口中 RegistryServiceunsubscribe 在类中 FailbackRegistrypublic List<org.apache.dubbo.common.URL> lookup(org.apache.dubbo.common.URL url)
lookup 在接口中 RegistryServicelookup 在类中 AbstractRegistrypublic MulticastSocket getMulticastSocket()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.