org.openjdk.jmh.annotations

Annotation Type TearDown



  • @Target(value=METHOD)@Retention(value=RUNTIME)public @interface TearDown

    TearDown marks the fixture method to be run after the benchmark.

    Since fixture methods manage the State lifecycles, TearDown can only be declared in State classes. The TearDown method will be executed by a thread which has the access to State, and it is not defined which thread exactly. Note that means Setup may be executed by a different thread, if State is shared between the threads.

    Uses may optionally provide the Level at which the fixture method should run.

    See Also:
    State
    • Optional Element Summary

      Optional Elements 
      Modifier and TypeOptional Element and Description
      Levelvalue 
    • Element Detail

      • value

        public abstract Level value
        Returns:
        At which level to run this fixture.
        See Also:
        Level
        Default:
        org.openjdk.jmh.annotations.Level.Trial

Copyright © 2012-2015 Oracle. All Rights Reserved.



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