public class ServiceInstancesChangedEvent extends Object
instances of one service has been changed.ServiceInstancesChangedListener| 构造器和说明 |
|---|
ServiceInstancesChangedEvent(String serviceName,
List<ServiceInstance> serviceInstances) |
public ServiceInstancesChangedEvent(String serviceName, List<ServiceInstance> serviceInstances)
serviceName - The name of service that was changedserviceInstances - all service instancesIllegalArgumentException - if source is null.public String getServiceName()
public List<ServiceInstance> getServiceInstances()
service instancesCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.