patterntesting.annotation.concurrent
Annotation Type RunParallel


@Retention(value=RUNTIME)
@Target(value={CONSTRUCTOR,METHOD})
public @interface RunParallel

Mark methods or constructors which should be run parallel in different threads with this annotation. This can be useful e.g. for testing.

Since:
13.01.2009
Version:
$Revision: 1.2 $
Author:
oliver

Optional Element Summary
 int value
          Number of parallel runs.
 

value

public abstract int value
Number of parallel runs.

Default:
2


Copyright © 2002–2014 PatternTesting Team. All rights reserved.