Package io.servicetalk.client.api
Interface ServiceDiscovererEvent<ResolvedAddress>
-
- Type Parameters:
ResolvedAddress- the type of address after resolution.
- All Known Subinterfaces:
PartitionedServiceDiscovererEvent<ResolvedAddress>
- All Known Implementing Classes:
DefaultServiceDiscovererEvent
public interface ServiceDiscovererEvent<ResolvedAddress>Notification from the Service Discovery system that availability for an address has changed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResolvedAddressaddress()Get the resolved address which is the subject of this event.booleanisAvailable()Determine ifaddress()is now available or unavailable.
-
-
-
Method Detail
-
address
ResolvedAddress address()
Get the resolved address which is the subject of this event.- Returns:
- a resolved address that can be used for connecting.
-
-