public class GridifySetToSetAbstractAspect extends Object
GridifySetToSet
annotation.Constructor and Description |
---|
GridifySetToSetAbstractAspect() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkIsSplitToJobsAllowed(org.apache.ignite.internal.util.gridify.GridifyRangeArgument arg,
GridifySetToSet ann)
Check if split allowed for input argument.
|
protected void |
checkMethodSignature(Method mtd)
Check method signature.
|
protected Object |
execute(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, GridifySetToSet ann) throws IgniteCheckedException
GridifySetToSet.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(IgniteCompute compute, Class<?> cls, org.apache.ignite.internal.util.gridify.GridifyRangeArgument arg, GridifyNodeFilter nodeFilter, int threshold, int splitSize, long timeout) throws IgniteCheckedException
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.14 Release Date : November 5 2024