public interface CommandMethod
Method interface
with specific information that is necessary to construct RedisCommand for the method.| Modifier and Type | Method and Description |
|---|---|
ResolvableType |
getActualReturnType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Lookup a method annotation.
|
Method |
getMethod() |
String |
getName() |
Parameters<? extends Parameter> |
getParameters() |
ResolvableType |
getReturnType() |
boolean |
hasAnnotation(Class<? extends Annotation> annotationClass) |
boolean |
isBatchExecution() |
boolean |
isFutureExecution() |
boolean |
isReactiveExecution() |
Parameters<? extends Parameter> getParameters()
Parameters.ResolvableType getReturnType()
Method return TypeInformation.ResolvableType getActualReturnType()
Method return TypeInformation after unwrapping.<A extends Annotation> A getAnnotation(Class<A> annotationClass)
annotationClass - the annotation class.boolean hasAnnotation(Class<? extends Annotation> annotationClass)
annotationClass - the annotation class.annotationClass.String getName()
boolean isFutureExecution()
Future as result type.boolean isReactiveExecution()
Publisher as result
type.boolean isBatchExecution()
CommandBatching argument.Copyright © 2019 lettuce.io. All rights reserved.