Package org.restheart.mongodb
Enum Class MongoServiceConfiguration.METRICS_GATHERING_LEVEL
java.lang.Object
java.lang.Enum<MongoServiceConfiguration.METRICS_GATHERING_LEVEL>
org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
- All Implemented Interfaces:
Serializable,Comparable<MongoServiceConfiguration.METRICS_GATHERING_LEVEL>,Constable
- Enclosing class:
- MongoServiceConfiguration
public static enum MongoServiceConfiguration.METRICS_GATHERING_LEVEL
extends Enum<MongoServiceConfiguration.METRICS_GATHERING_LEVEL>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiongather basic, database, and collection-specific metricsgather basic metrics, and also specific per database (but not collection-specific)do not gather any metricsgather basic metrics (for all databases, but not specific per database) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFF
do not gather any metrics -
ROOT
gather basic metrics (for all databases, but not specific per database) -
DATABASE
gather basic metrics, and also specific per database (but not collection-specific) -
COLLECTION
gather basic, database, and collection-specific metrics
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-