Enum GcAnalyzer.Concurrency
- java.lang.Object
-
- java.lang.Enum<GcAnalyzer.Concurrency>
-
- com.couchbase.client.core.cnc.diagnostics.GcAnalyzer.Concurrency
-
- All Implemented Interfaces:
Serializable
,Comparable<GcAnalyzer.Concurrency>
- Enclosing class:
- GcAnalyzer
public static enum GcAnalyzer.Concurrency extends Enum<GcAnalyzer.Concurrency>
Concurrency of a given algorithm/gc type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLY_CONCURRENT
The algorithm is fully concurrent and not stopping the world.MOSTLY_CONCURRENT
The algorithm is mostly concurrent and only shortly stopping the world.STOP_THE_WORLD
The algorithm pauses the app threads while running.UNKNOWN
We couldn't figure out the concurrency type, sorry.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GcAnalyzer.Concurrency
valueOf(String name)
Returns the enum constant of this type with the specified name.static GcAnalyzer.Concurrency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOP_THE_WORLD
public static final GcAnalyzer.Concurrency STOP_THE_WORLD
The algorithm pauses the app threads while running.
-
MOSTLY_CONCURRENT
public static final GcAnalyzer.Concurrency MOSTLY_CONCURRENT
The algorithm is mostly concurrent and only shortly stopping the world.
-
FULLY_CONCURRENT
public static final GcAnalyzer.Concurrency FULLY_CONCURRENT
The algorithm is fully concurrent and not stopping the world.
-
UNKNOWN
public static final GcAnalyzer.Concurrency UNKNOWN
We couldn't figure out the concurrency type, sorry.
-
-
Method Detail
-
values
public static GcAnalyzer.Concurrency[] 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 (GcAnalyzer.Concurrency c : GcAnalyzer.Concurrency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GcAnalyzer.Concurrency 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
-
-