1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Merge pull request #1762 from mercyblitz/finchley

[JavaDoc] Fix issues
This commit is contained in:
Mercy Ma 2020-09-24 16:29:28 +08:00 committed by GitHub
commit 87c0a8e859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 15 deletions

View File

@ -37,16 +37,11 @@ import static org.apache.dubbo.common.constants.CommonConstants.DEFAULT_RETRIES;
* Spring Cloud Service-to-Service call is transported by Dubbo under the hood, there are * Spring Cloud Service-to-Service call is transported by Dubbo under the hood, there are
* two main scenarios: * two main scenarios:
* <ol> * <ol>
* <li>{@link FeignClient @FeignClient} annotated classes: * <li>{@link FeignClient @FeignClient} annotated classes: If
* <ul> * {@link DubboTransported @DubboTransported} annotated classes, the invocation of all
* If {@link DubboTransported @DubboTransported} annotated classes, the invocation of all * methods of {@link FeignClient @FeignClient} annotated classes. If
* methods of {@link FeignClient @FeignClient} annotated classes. * {@link DubboTransported @DubboTransported} annotated methods of
* </ul> * {@link FeignClient @FeignClient} annotated classes.</li>
* <ul>
* If {@link DubboTransported @DubboTransported} annotated methods of
* {@link FeignClient @FeignClient} annotated classes.
* </ul>
* </li>
* <li>{@link LoadBalanced @LoadBalanced} {@link RestTemplate} annotated field, method and * <li>{@link LoadBalanced @LoadBalanced} {@link RestTemplate} annotated field, method and
* parameters</li> * parameters</li>
* </ol> * </ol>

View File

@ -16,7 +16,6 @@
package com.alibaba.cloud.dubbo.autoconfigure; package com.alibaba.cloud.dubbo.autoconfigure;
import java.util.Collection;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -203,7 +202,7 @@ public class DubboServiceDiscoveryAutoConfiguration {
* {@link #defaultHeartbeatEventChangePredicate()} method providers the default * {@link #defaultHeartbeatEventChangePredicate()} method providers the default
* implementation to detect whether the {@link HeartbeatEvent#getValue() state} is * implementation to detect whether the {@link HeartbeatEvent#getValue() state} is
* changed or not. If and only if changed, the * changed or not. If and only if changed, the
* {@link #dispatchServiceInstancesChangedEvent(String, Collection)} will be executed. * {@link #dispatchServiceInstancesChangedEvent(String, List)} will be executed.
* <p> * <p>
* <b>Note : </b> Spring Cloud {@link HeartbeatEvent} has a critical flaw that can't * <b>Note : </b> Spring Cloud {@link HeartbeatEvent} has a critical flaw that can't
* figure out which service was changed precisely, it's just used for a notification * figure out which service was changed precisely, it's just used for a notification
@ -362,7 +361,7 @@ public class DubboServiceDiscoveryAutoConfiguration {
/** /**
* Zookeeper uses {@link TreeCacheEvent} to trigger * Zookeeper uses {@link TreeCacheEvent} to trigger
* {@link #dispatchServiceInstancesChangedEvent(String, Collection)} , thus * {@link #dispatchServiceInstancesChangedEvent(String, List)} , thus
* {@link HeartbeatEvent} handle is always ignored. * {@link HeartbeatEvent} handle is always ignored.
* @return <code>false</code> forever * @return <code>false</code> forever
*/ */
@ -430,7 +429,7 @@ public class DubboServiceDiscoveryAutoConfiguration {
} }
/** /**
* Try to {@link #dispatchServiceInstancesChangedEvent(String, Collection) * Try to {@link #dispatchServiceInstancesChangedEvent(String, List)
* dispatch} {@link ServiceInstancesChangedEvent} before * dispatch} {@link ServiceInstancesChangedEvent} before
* {@link ZookeeperServiceWatch#childEvent(CuratorFramework, TreeCacheEvent)} * {@link ZookeeperServiceWatch#childEvent(CuratorFramework, TreeCacheEvent)}
* execution if required. * execution if required.
@ -528,7 +527,7 @@ public class DubboServiceDiscoveryAutoConfiguration {
/** /**
* Nacos uses {@link EventListener} to trigger. * Nacos uses {@link EventListener} to trigger.
* {@link #dispatchServiceInstancesChangedEvent(String, Collection)} , thus * {@link #dispatchServiceInstancesChangedEvent(String, List)} , thus
* {@link HeartbeatEvent} handle is always ignored * {@link HeartbeatEvent} handle is always ignored
* @return <code>false</code> forever * @return <code>false</code> forever
*/ */

View File

@ -40,6 +40,7 @@ public abstract class AbstractHttpRequestMatcher implements HttpRequestMatcher {
* <p> * <p>
* For example {@code " || "} for URL patterns or {@code " && "} for param * For example {@code " || "} for URL patterns or {@code " && "} for param
* expressions. * expressions.
* @return the notation
*/ */
protected abstract String getToStringInfix(); protected abstract String getToStringInfix();