public class NacosServiceDiscovery.NacosEventListener extends Object implements com.alibaba.nacos.api.naming.listener.EventListener
| Constructor and Description |
|---|
NacosEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ServiceInstancesChangedListener listener) |
boolean |
isEmpty() |
void |
onEvent(com.alibaba.nacos.api.naming.listener.Event e) |
void |
removeListener(ServiceInstancesChangedListener listener) |
public void onEvent(com.alibaba.nacos.api.naming.listener.Event e)
onEvent in interface com.alibaba.nacos.api.naming.listener.EventListenerpublic void addListener(ServiceInstancesChangedListener listener)
public void removeListener(ServiceInstancesChangedListener listener)
public boolean isEmpty()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.