public final class ServiceCache extends Object
Cache serviceIds and corresponding instances in Nacos.
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
get() |
static List<org.springframework.cloud.client.ServiceInstance> |
getInstances(String serviceId) |
static void |
set(List<String> newServices) |
static void |
setInstances(String serviceId,
List<org.springframework.cloud.client.ServiceInstance> instances) |
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.