Package com.jcabi.aspects.aj
Class Parallelizer
- java.lang.Object
-
- com.jcabi.aspects.aj.Parallelizer
-
@Immutable public final class Parallelizer extends Object
Execute method in multiple threads.- Since:
- 0.10
- See Also:
Parallel
-
-
Constructor Summary
Constructors Constructor Description Parallelizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
wrap(org.aspectj.lang.ProceedingJoinPoint point)
Execute method in multiple threads.
-
-
-
Method Detail
-
wrap
public Object wrap(org.aspectj.lang.ProceedingJoinPoint point) throws com.jcabi.aspects.aj.Parallelizer.ParallelException
Execute method in multiple threads.This aspect should be used only on void returning methods.
Try NOT to change the signature of this method, in order to keep it backward compatible.
- Parameters:
point
- Joint point- Returns:
- The result of call
- Throws:
com.jcabi.aspects.aj.Parallelizer.ParallelException
- If something goes wrong inside
-
-