Annotation Type Threads

  • @Inherited@Target(value={METHOD,TYPE})@Retention(value=RUNTIME)public @interface Threads

    Threads annotation provides the default number of threads to run.

    This annotation may be put at Benchmark method to have effect on that method only, or at the enclosing class instance to have the effect over all Benchmark methods in the class. This annotation may be overridden with the runtime options.

    • Required Element Summary

      Required Elements 
      Modifier and TypeRequired Element and Description
    • Element Detail

      • value

        public abstract int value
        Number of threads; use Threads.MAX to run with all available threads.

Copyright © 2012-2015 Oracle. All Rights Reserved.

Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14