public static interface DynamicHostSet.HostChangeMonitor<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onChange(com.google.common.collect.ImmutableSet<T> hostSet)
Called when either the available set of services changes (when a service dies or a new
instance comes on-line) or when an existing service advertises a status or health change.
|
void onChange(com.google.common.collect.ImmutableSet<T> hostSet)
hostSet - the current set of available ServiceInstances