Class AbstractParser<T extends Limiter<?>,V extends Annotation>
java.lang.Object
org.aoju.bus.limiter.support.rate.AbstractParser<T,V>
- All Implemented Interfaces:
Parser<T>
- Direct Known Subclasses:
LockAnnotationParser,PeakLimiterAnnotationParser,RateLimiterAnnotationParser
public abstract class AbstractParser<T extends Limiter<?>,V extends Annotation>
extends Object
implements Parser<T>
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArgumentInjectors(org.springframework.core.annotation.AnnotationAttributes attributes) getErrorHandler(org.springframework.core.annotation.AnnotationAttributes attributes) getFallback(org.springframework.core.annotation.AnnotationAttributes attributes) getKey(org.springframework.core.annotation.AnnotationAttributes attributes) getLimiter(org.springframework.core.annotation.AnnotationAttributes attributes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aoju.bus.limiter.Parser
parseLimiterAnnotation
-
Constructor Details
-
AbstractParser
public AbstractParser()
-
-
Method Details
-
getSupportAnnotation
- Specified by:
getSupportAnnotationin interfaceParser<T extends Limiter<?>>
-
getLimiter
-
getKey
-
getFallback
-
getErrorHandler
-
getArgumentInjectors
public Collection<String> getArgumentInjectors(org.springframework.core.annotation.AnnotationAttributes attributes)
-