public class GridifyRangeArgument extends GridifyArgumentAdapter
GridifyArgument
interface.
This adapter used in grid task for GridifySetToSet
and
GridifySetToValue
annotations.
See Gridify
documentation for more information about execution of
gridified
methods.
GridifySetToValue
,
GridifySetToSet
,
Serialized FormConstructor and Description |
---|
GridifyRangeArgument() |
Modifier and Type | Method and Description |
---|---|
Iterator<?> |
getInputIterator()
Returns elements
Iterator for current input argument. |
int |
getInputSize()
Returns elements size for current input argument or
GridifyUtils.UNKNOWN_SIZE for unknown input size. |
Class<?> |
getMethodReturnType()
Gets method return type in the same order they appear in method
signature.
|
int |
getParamIndex()
Gets index identifies where to find data in method signature.
|
void |
setMethodReturnType(Class<?> mtdReturnType)
Sets method return type.
|
void |
setParamIndex(int paramIdx)
Sets index identifies where to find data in method signature.
|
String |
toString() |
getMethodClass, getMethodName, getMethodParameters, getMethodParameterTypes, getTarget, setMethodClass, setMethodName, setMethodParameters, setMethodParameterTypes, setTarget, updateMethodParameter, updateMethodParameterType
public int getParamIndex()
public void setParamIndex(int paramIdx)
paramIdx
- Index.public Class<?> getMethodReturnType()
public void setMethodReturnType(Class<?> mtdReturnType)
mtdReturnType
- Method return type.public Iterator<?> getInputIterator()
Iterator
for current input argument.public int getInputSize()
GridifyUtils.UNKNOWN_SIZE
for unknown input size.GridifyUtils.UNKNOWN_SIZE
.public String toString()
toString
in class GridifyArgumentAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017