@Primary @Singleton public class DefaultCompositeDiscoveryClient extends CompositeDiscoveryClient
CompositeDiscoveryClient
that is activated when caching is disabled.Constructor and Description |
---|
DefaultCompositeDiscoveryClient(DiscoveryClient... discoveryClients)
Create a default composite discovery for the discovery clients.
|
DefaultCompositeDiscoveryClient(List<DiscoveryClient> discoveryClients)
Create a default composite discovery for the discovery clients.
|
close, getDescription, getDiscoveryClients, getInstances, getServiceIds, toString
@Inject public DefaultCompositeDiscoveryClient(List<DiscoveryClient> discoveryClients)
discoveryClients
- The Discovery clients used for service discoverypublic DefaultCompositeDiscoveryClient(DiscoveryClient... discoveryClients)
discoveryClients
- The Discovery clients used for service discovery