org.openjdk.jmh.profile
Enum InjectionPoint

java.lang.Object  extended by java.lang.Enum<InjectionPoint>      extended by org.openjdk.jmh.profile.InjectionPoint
All Implemented Interfaces:
Serializable, Comparable<InjectionPoint>

public enum InjectionPoint
extends Enum<InjectionPoint>

When and where to inject the instrument


Enum Constant Summary
BENCHMARK_VM_CONTROL
          Inject in VM which does the actual benchmark, and run in the control thread there.
HARNESS_VM_CONTROL
          Inject in harness VM, and run in the control thread there.
 
Method Summary
static InjectionPointvalueOf(String name)
          Returns the enum constant of this type with the specified name.
static InjectionPoint[]values()
          Returns an array containing the constants of this enum type, inthe order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HARNESS_VM_CONTROL

public static final InjectionPoint HARNESS_VM_CONTROL
Inject in harness VM, and run in the control thread there.


BENCHMARK_VM_CONTROL

public static final InjectionPoint BENCHMARK_VM_CONTROL
Inject in VM which does the actual benchmark, and run in the control thread there.

Method Detail

values

public static InjectionPoint[] values()
Returns an array containing the constants of this enum type, inthe order they are declared. This method may be used to iterateover the constants as follows:
for (InjectionPoint c : InjectionPoint.values())    System.out.println(c);

Returns:
an array containing the constants of this enum type, inthe order they are declared

valueOf

public static InjectionPoint valueOf(String name)
Returns the enum constant of this type with the specified name.The string must match exactly an identifier used to declare anenum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constantwith the specified name
NullPointerException - if the argument is null


Copyright © 2012-2014
Oracle. All Rights Reserved.


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