fix:Use the article an before instance (#11759)
* fix:Use the article an before instance * fix:The modal verb 'will' requires the verb's base form.
This commit is contained in:
parent
7f4c7f8297
commit
a275356c10
@ -116,7 +116,7 @@
|
||||
* [#175] Support deregistering instance automatically.
|
||||
* [#176] Naming client query instance method should bypass local cache at client start.
|
||||
* [#177] Console supports registering new empty service and delete empty service.
|
||||
* [#181] NPE when adding a instance if no leader in the raft cluster.
|
||||
* [#181] NPE when adding an instance if no leader in the raft cluster.
|
||||
* [#193] Configure host domain name cause nacos server cluster is unavailable.
|
||||
* [#209] Disable service and cluster level customization in client registerInstance method.
|
||||
* [#214] Please support Java 11.
|
||||
|
@ -96,7 +96,7 @@ public class AddressServerGeneratorManager {
|
||||
/**
|
||||
* Generate response ips.
|
||||
*
|
||||
* @param instanceList a instance set will generate string response to client.
|
||||
* @param instanceList an instance set will generate string response to client.
|
||||
* @return the result of response to client
|
||||
*/
|
||||
public String generateResponseIps(List<com.alibaba.nacos.api.naming.pojo.Instance> instanceList) {
|
||||
@ -113,7 +113,7 @@ public class AddressServerGeneratorManager {
|
||||
/**
|
||||
* Generate nacos service name.
|
||||
*
|
||||
* @param rawServiceName the raw service name will not contains the {@link Constants#DEFAULT_GROUP}.
|
||||
* @param rawServiceName the raw service name will not contain the {@link Constants#DEFAULT_GROUP}.
|
||||
* @return the nacos service name
|
||||
*/
|
||||
public String generateNacosServiceName(String rawServiceName) {
|
||||
|
@ -33,7 +33,7 @@ import java.util.List;
|
||||
public interface NamingService {
|
||||
|
||||
/**
|
||||
* register a instance to service.
|
||||
* register an instance to service.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param ip instance ip
|
||||
@ -43,7 +43,7 @@ public interface NamingService {
|
||||
void registerInstance(String serviceName, String ip, int port) throws NacosException;
|
||||
|
||||
/**
|
||||
* register a instance to service.
|
||||
* register an instance to service.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param groupName group of service
|
||||
@ -54,7 +54,7 @@ public interface NamingService {
|
||||
void registerInstance(String serviceName, String groupName, String ip, int port) throws NacosException;
|
||||
|
||||
/**
|
||||
* register a instance to service with specified cluster name.
|
||||
* register an instance to service with specified cluster name.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param ip instance ip
|
||||
@ -65,7 +65,7 @@ public interface NamingService {
|
||||
void registerInstance(String serviceName, String ip, int port, String clusterName) throws NacosException;
|
||||
|
||||
/**
|
||||
* register a instance to service with specified cluster name.
|
||||
* register an instance to service with specified cluster name.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param groupName group of service
|
||||
@ -78,7 +78,7 @@ public interface NamingService {
|
||||
throws NacosException;
|
||||
|
||||
/**
|
||||
* register a instance to service with specified instance properties.
|
||||
* register an instance to service with specified instance properties.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param instance instance to register
|
||||
@ -87,7 +87,7 @@ public interface NamingService {
|
||||
void registerInstance(String serviceName, Instance instance) throws NacosException;
|
||||
|
||||
/**
|
||||
* register a instance to service with specified instance properties.
|
||||
* register an instance to service with specified instance properties.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param groupName group of service
|
||||
|
@ -69,7 +69,7 @@ public class HealthCheckerFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* Deserialize and create a instance of health checker.
|
||||
* Deserialize and create an instance of health checker.
|
||||
*
|
||||
* @param jsonString json string of health checker
|
||||
* @return new instance
|
||||
@ -83,7 +83,7 @@ public class HealthCheckerFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* Serialize a instance of health checker to json.
|
||||
* Serialize an instance of health checker to json.
|
||||
*
|
||||
* @param healthChecker health checker instance
|
||||
* @return son string after serializing
|
||||
|
@ -34,7 +34,7 @@ import java.util.List;
|
||||
public interface NamingClientProxy extends Closeable {
|
||||
|
||||
/**
|
||||
* Register a instance to service with specified instance properties.
|
||||
* Register an instance to service with specified instance properties.
|
||||
*
|
||||
* @param serviceName name of service
|
||||
* @param groupName group of service
|
||||
|
Loading…
Reference in New Issue
Block a user