Package io.micronaut.discovery
Class DefaultCompositeDiscoveryClient
java.lang.Object
io.micronaut.discovery.CompositeDiscoveryClient
io.micronaut.discovery.DefaultCompositeDiscoveryClient
- All Implemented Interfaces:
Described
,DiscoveryClient
,Closeable
,AutoCloseable
The default
CompositeDiscoveryClient
that is activated when caching is disabled.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Constructor Summary
ConstructorDescriptionDefaultCompositeDiscoveryClient
(DiscoveryClient... discoveryClients) Create a default composite discovery for the discovery clients.DefaultCompositeDiscoveryClient
(List<DiscoveryClient> discoveryClients) Create a default composite discovery for the discovery clients. -
Method Summary
Methods inherited from class io.micronaut.discovery.CompositeDiscoveryClient
close, getDescription, getDiscoveryClients, getInstances, getServiceIds, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
-
Constructor Details
-
DefaultCompositeDiscoveryClient
Create a default composite discovery for the discovery clients.- Parameters:
discoveryClients
- The Discovery clients used for service discovery
-
DefaultCompositeDiscoveryClient
Create a default composite discovery for the discovery clients.- Parameters:
discoveryClients
- The Discovery clients used for service discovery
-