public class DefaultObserverHandler extends Object implements ObserverHandler
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultObserverHandler.ConfiguratorNotifyTask
The type Configurator notify task.
|
class |
DefaultObserverHandler.SubscriberNotifyTask
The type Observer notify task.
|
| 构造器和说明 |
|---|
DefaultObserverHandler(RegistryClientConfig config,
EventBus eventBus)
Constructor.
|
public DefaultObserverHandler(RegistryClientConfig config, EventBus eventBus)
config - the configpublic void notify(Subscriber subscriber)
ObserverHandlernotify 在接口中 ObserverHandlersubscriber - the subscriberObserverHandler.notify(Subscriber)public void notify(Configurator configurator)
ObserverHandlernotify 在接口中 ObserverHandlerconfigurator - the configuratorObserverHandler.notify(Configurator)Copyright © 2023 The Ant Financial. All rights reserved.