Package io.github.tkasozi
Enum Class MetricsTypeEnum
- All Implemented Interfaces:
Serializable
,Comparable<MetricsTypeEnum>
,Constable
Types of events supported.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis event is used to log cpu utilization event.This event is used to log exception event.This event is used to log memory utilization event.This event is used to log performance event.This event is used to log a successful authorization event.Use this event to signal a successful event happened.This event is used to log unauthorized user access event.This event is used to log unsuccessful request event.This event is used for internal logging event. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static MetricsTypeEnum
Returns the enum constant of this class with the specified name.static MetricsTypeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESSFUL_AUTHORIZATION_EVENT
This event is used to log a successful authorization event. -
UNSUCCESSFUL_AUTHORIZATION_EVENT
This event is used to log unauthorized user access event. -
SUCCESSFUL_RESULT_EVENT
Use this event to signal a successful event happened. -
UNSUCCESSFUL_RESULT_EVENT
This event is used to log unsuccessful request event. -
PERFORMANCE_EVENT
This event is used to log performance event. -
EXCEPTION_EVENT
This event is used to log exception event. -
UTILITY_LOGGING_EVENT
This event is used for internal logging event. -
CPU_UTILIZATION
This event is used to log cpu utilization event. -
MEMORY_UTILIZATION
This event is used to log memory utilization event.
-
-
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
-
getValue
-