public class ExecutionSpecificParameters extends Parameters<ExecutionSpecificParameters.ExecutionAwareParameter>
Parameters-implementation specific to execution. This implementation considers Timeout for a command method
applying the appropriate synchronization and CommandBatching to batch commands.Timeout,
CommandBatching| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionSpecificParameters.ExecutionAwareParameter |
| Constructor and Description |
|---|
ExecutionSpecificParameters(Method method)
Create new
ExecutionSpecificParameters given a Method. |
| Modifier and Type | Method and Description |
|---|---|
protected ExecutionSpecificParameters.ExecutionAwareParameter |
createParameter(Method method,
int parameterIndex)
|
int |
getCommandBatchingIndex() |
int |
getTimeoutIndex() |
boolean |
hasCommandBatchingIndex() |
boolean |
hasTimeoutIndex() |
getBindableParameter, getBindableParameters, getParameters, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ExecutionSpecificParameters(Method method)
ExecutionSpecificParameters given a Method.method - must not be null.public int getTimeoutIndex()
Timeout
parameter.public int getCommandBatchingIndex()
CommandBatching parameter.protected ExecutionSpecificParameters.ExecutionAwareParameter createParameter(Method method, int parameterIndex)
ParameterscreateParameter in class Parameters<ExecutionSpecificParameters.ExecutionAwareParameter>method - must not be null.parameterIndex - the parameter index.Parameter.public boolean hasCommandBatchingIndex()
true if the method defines a CommandBatching parameter.public boolean hasTimeoutIndex()
true if the method defines a Timeout parameter.Copyright © 2020 lettuce.io. All rights reserved.