public class GridifySetToValueAbstractAspect extends Object
GridifySetToValue
annotation.Constructor and Description |
---|
GridifySetToValueAbstractAspect() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkIsSplitToJobsAllowed(org.apache.ignite.internal.util.gridify.GridifyRangeArgument arg,
GridifySetToValue ann)
Check if split allowed for input argument.
|
protected void |
checkMethodSignature(Method mtd)
Check method signature.
|
protected Object |
execute(Method mtd,
IgniteCompute compute,
Class<?> cls,
org.apache.ignite.internal.util.gridify.GridifyRangeArgument arg,
GridifyNodeFilter nodeFilter,
int threshold,
int splitSize,
long timeout)
Execute method on grid.
|
protected void checkMethodSignature(Method mtd) throws IgniteCheckedException
mtd
- Grid-enabled method.IgniteCheckedException
- If method signature invalid.protected void checkIsSplitToJobsAllowed(org.apache.ignite.internal.util.gridify.GridifyRangeArgument arg, GridifySetToValue ann) throws IgniteCheckedException
GridifySetToValue.splitSize()
value (default value 0
)
there is no ability to calculate how much jobs should be used in task execution.arg
- Gridify argument.ann
- AnnotationIgniteCheckedException
- If split is not allowed with current parameters.protected Object execute(Method mtd, IgniteCompute compute, Class<?> cls, org.apache.ignite.internal.util.gridify.GridifyRangeArgument arg, GridifyNodeFilter nodeFilter, int threshold, int splitSize, long timeout) throws IgniteCheckedException
mtd
- Method.compute
- IgniteCompute
instance.cls
- Joint point signature class.arg
- GridifyArgument with all method signature parameters.nodeFilter
- Node filter.threshold
- Parameter that defines the minimal value below which the
execution will NOT be grid-enabled.splitSize
- Size of elements to send in job argument.timeout
- Execution timeout.IgniteCheckedException
- If execution failed.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024