Package com.atlassian.bamboo.util
Enum BambooDebugUtils.ThreadDumpReason
- java.lang.Object
-
- java.lang.Enum<BambooDebugUtils.ThreadDumpReason>
-
- com.atlassian.bamboo.util.BambooDebugUtils.ThreadDumpReason
-
- All Implemented Interfaces:
Serializable
,Comparable<BambooDebugUtils.ThreadDumpReason>
- Enclosing class:
- BambooDebugUtils
public static enum BambooDebugUtils.ThreadDumpReason extends Enum<BambooDebugUtils.ThreadDumpReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_STOP
HEARTBEAT_WATCHDOG
MQ_SEND_TIMEOUT
OTHER
QUEUE_TIMEOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isThreadDumpBlocked()
void
temporarilyBlockThreadDumps()
static BambooDebugUtils.ThreadDumpReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static BambooDebugUtils.ThreadDumpReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUE_TIMEOUT
public static final BambooDebugUtils.ThreadDumpReason QUEUE_TIMEOUT
-
MQ_SEND_TIMEOUT
public static final BambooDebugUtils.ThreadDumpReason MQ_SEND_TIMEOUT
-
AGENT_STOP
public static final BambooDebugUtils.ThreadDumpReason AGENT_STOP
-
HEARTBEAT_WATCHDOG
public static final BambooDebugUtils.ThreadDumpReason HEARTBEAT_WATCHDOG
-
OTHER
public static final BambooDebugUtils.ThreadDumpReason OTHER
-
-
Method Detail
-
values
public static BambooDebugUtils.ThreadDumpReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BambooDebugUtils.ThreadDumpReason c : BambooDebugUtils.ThreadDumpReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BambooDebugUtils.ThreadDumpReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum 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 constant with the specified nameNullPointerException
- if the argument is null
-
isThreadDumpBlocked
public boolean isThreadDumpBlocked()
-
temporarilyBlockThreadDumps
public void temporarilyBlockThreadDumps()
-
-