public class ServiceInstancesChangedEvent extends Event
instances of one service has been changed.ServiceInstancesChangedListener,
Serialized Form| Constructor and Description |
|---|
ServiceInstancesChangedEvent(String serviceName,
Collection<ServiceInstance> serviceInstances) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ServiceInstance> |
getServiceInstances() |
String |
getServiceName() |
getTimestampgetSource, toStringpublic ServiceInstancesChangedEvent(String serviceName, Collection<ServiceInstance> serviceInstances)
serviceName - The name of service that was changedserviceInstances - all service instancesIllegalArgumentException - if source is null.public String getServiceName()
public Collection<ServiceInstance> getServiceInstances()
service instancesCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.