Class Parallelizer


  • @Immutable
    public final class Parallelizer
    extends Object
    Execute method in multiple threads.
    Since:
    0.10
    See Also:
    Parallel
    • Constructor Detail

      • Parallelizer

        public Parallelizer()
    • 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