Package com.jcabi.aspects
Annotation Type Parallel
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Parallel
Execute annotated method in multiple threads.This annotation should be applied only to methods that return void, in other cases the behavior might be unexpected (because
NULLwill always be returned).- Since:
- 0.10
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intthreadsNumber of threads to use for parallel execution.
-