public class NamingServiceProcessor extends Object
| Constructor and Description |
|---|
NamingServiceProcessor(List<Endpoint> endpoints,
Class serviceInterface,
int healthyCheckIntervalMillis,
CommunicationOptions communicationOptions) |
NamingServiceProcessor(String serviceUrl,
Class serviceInterface,
NamingOptions namingOptions,
int healthyCheckIntervalMillis,
CommunicationOptions communicationOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(ServiceInstance instance) |
void |
addInstances(Collection<ServiceInstance> instances) |
CommunicationClient |
deleteInstance(ServiceInstance instance) |
void |
deleteInstances(Collection<ServiceInstance> instances) |
List<CommunicationClient> |
getInstances() |
void |
stop() |
public NamingServiceProcessor(String serviceUrl, Class serviceInterface, NamingOptions namingOptions, int healthyCheckIntervalMillis, CommunicationOptions communicationOptions)
public NamingServiceProcessor(List<Endpoint> endpoints, Class serviceInterface, int healthyCheckIntervalMillis, CommunicationOptions communicationOptions)
public void addInstances(Collection<ServiceInstance> instances)
public void addInstance(ServiceInstance instance)
public void deleteInstances(Collection<ServiceInstance> instances)
public CommunicationClient deleteInstance(ServiceInstance instance)
public List<CommunicationClient> getInstances()
public void stop()
Copyright © 2022 Baidu, Inc.. All rights reserved.