Class ReactiveDiscoveryClientAdapter
java.lang.Object
io.microsphere.spring.cloud.client.discovery.ReactiveDiscoveryClientAdapter
- All Implemented Interfaces:
org.springframework.cloud.client.discovery.DiscoveryClient,org.springframework.core.Ordered
public class ReactiveDiscoveryClientAdapter
extends Object
implements org.springframework.cloud.client.discovery.DiscoveryClient
An adapter
DiscoveryClient class based on ReactiveDiscoveryClient- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
DiscoveryClient
-
Field Summary
Fields inherited from interface org.springframework.cloud.client.discovery.DiscoveryClient
DEFAULT_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionReactiveDiscoveryClientAdapter(org.springframework.cloud.client.discovery.ReactiveDiscoveryClient reactiveDiscoveryClient) -
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.cloud.client.ServiceInstance>getInstances(String serviceId) intgetOrder()voidprobe()
-
Constructor Details
-
ReactiveDiscoveryClientAdapter
public ReactiveDiscoveryClientAdapter(org.springframework.cloud.client.discovery.ReactiveDiscoveryClient reactiveDiscoveryClient)
-
-
Method Details
-
description
- Specified by:
descriptionin interfaceorg.springframework.cloud.client.discovery.DiscoveryClient
-
getInstances
- Specified by:
getInstancesin interfaceorg.springframework.cloud.client.discovery.DiscoveryClient
-
getServices
- Specified by:
getServicesin interfaceorg.springframework.cloud.client.discovery.DiscoveryClient
-
probe
public void probe()- Specified by:
probein interfaceorg.springframework.cloud.client.discovery.DiscoveryClient
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.cloud.client.discovery.DiscoveryClient- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-