public class DestinoServiceDiscovery
extends java.lang.Object
| 构造器和说明 |
|---|
DestinoServiceDiscovery(DestinoDiscoveryProperties discoveryProperties,
org.egolessness.destino.client.DestinoConfiguration destinoConfiguration) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<org.springframework.cloud.client.ServiceInstance> |
getInstances(java.lang.String serviceId)
get all health instances with serviceId
|
java.util.List<java.lang.String> |
getServices()
get all services.
|
org.egolessness.destino.common.model.Page<java.lang.String> |
pageQueryServices(org.egolessness.destino.common.model.Pageable pageable) |
public DestinoServiceDiscovery(DestinoDiscoveryProperties discoveryProperties, org.egolessness.destino.client.DestinoConfiguration destinoConfiguration)
public java.util.List<org.springframework.cloud.client.ServiceInstance> getInstances(java.lang.String serviceId)
throws org.egolessness.destino.common.exception.DestinoException
org.egolessness.destino.common.exception.DestinoExceptionpublic java.util.List<java.lang.String> getServices()
throws org.egolessness.destino.common.exception.DestinoException
org.egolessness.destino.common.exception.DestinoExceptionpublic org.egolessness.destino.common.model.Page<java.lang.String> pageQueryServices(org.egolessness.destino.common.model.Pageable pageable)
throws org.egolessness.destino.common.exception.DestinoException
org.egolessness.destino.common.exception.DestinoException