| Package | Description |
|---|---|
| org.apache.dubbo.common.utils | |
| org.apache.dubbo.registry.client |
* The inspiration of service registration and discovery comes from
Spring Cloud Commons.
|
| org.apache.dubbo.registry.zookeeper |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPage<T>
The default implementation of
Page |
| Modifier and Type | Method and Description |
|---|---|
default Page<ServiceInstance> |
ServiceDiscovery.getInstances(String serviceName,
int offset,
int pageSize)
Gets the
pagination of service instances by the specified service name. |
default Page<ServiceInstance> |
ServiceDiscovery.getInstances(String serviceName,
int offset,
int pageSize,
boolean healthyOnly)
Get the
pagination of service instances by the specified service name. |
| Modifier and Type | Method and Description |
|---|---|
default Map<String,Page<ServiceInstance>> |
ServiceDiscovery.getInstances(Iterable<String> serviceNames,
int offset,
int requestSize)
batch-get all
service instances by the specified service names |
| Modifier and Type | Method and Description |
|---|---|
Page<ServiceInstance> |
ZookeeperServiceDiscovery.getInstances(String serviceName,
int offset,
int pageSize,
boolean healthyOnly) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.