Package org.openjdk.jmh.annotations
Annotation Type 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:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Level value- Returns:
- At which level to run this fixture.
- See Also:
- Default:
Trial
-