mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
fix definition of SentinelProtect
This commit is contained in:
parent
f52e3a72ac
commit
8e89f6d15a
@ -16,17 +16,14 @@
|
|||||||
|
|
||||||
package org.springframework.cloud.alibaba.sentinel.annotation;
|
package org.springframework.cloud.alibaba.sentinel.annotation;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Qualifier;
|
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author fangjian
|
* @author fangjian
|
||||||
*/
|
*/
|
||||||
@Target({ ElementType.METHOD, ElementType.FIELD })
|
@Target({ ElementType.METHOD })
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Documented
|
@Documented
|
||||||
@Qualifier
|
|
||||||
public @interface SentinelProtect {
|
public @interface SentinelProtect {
|
||||||
|
|
||||||
String blockHandler() default "";
|
String blockHandler() default "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user