public static enum ProfilerPluginCfgDefn.ProfileAction extends Enum<ProfilerPluginCfgDefn.ProfileAction>
Specifies the action that should be taken by the profiler.
A value of "start" causes the profiler thread to start collecting data if it is not already active. A value of "stop" causes the profiler thread to stop collecting data and write it to disk, and a value of "cancel" causes the profiler thread to stop collecting data and discard anything that has been captured. These operations occur immediately.
Enum Constant and Description |
---|
CANCEL
Stop collecting profile data and discard what has been
captured.
|
NONE
Do not take any action.
|
START
Start collecting profile data.
|
STOP
Stop collecting profile data and write what has been captured
to a file in the profile directory.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ProfilerPluginCfgDefn.ProfileAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfilerPluginCfgDefn.ProfileAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfilerPluginCfgDefn.ProfileAction CANCEL
public static final ProfilerPluginCfgDefn.ProfileAction NONE
public static final ProfilerPluginCfgDefn.ProfileAction START
public static final ProfilerPluginCfgDefn.ProfileAction STOP
public static ProfilerPluginCfgDefn.ProfileAction[] values()
for (ProfilerPluginCfgDefn.ProfileAction c : ProfilerPluginCfgDefn.ProfileAction.values()) System.out.println(c);
public static ProfilerPluginCfgDefn.ProfileAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ProfilerPluginCfgDefn.ProfileAction>
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.