Package com.couchbase.client.core.cnc
Enum Event.Category
- All Implemented Interfaces:
Serializable
,Comparable<Event.Category>
,java.lang.constant.Constable
- Enclosing interface:
- Event
public static enum Event.Category extends Enum<Event.Category>
Describes the category of any given event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIG
Represents an event from the config subsystem.CORE
Represents an event from the upper level core subsystem.ENDPOINT
Represents an event from the Endpoint layer.IO
Represents an event from the IO subsystem.METRICS
Represents events that comes from the metrics subsystem.NODE
Represents an event from the Node layer.REQUEST
Represents an event around a specific request instance.SERVICE
Represents an event from the Service layer.SYSTEM
Represents an event that concerns the JVM/OS/system.TRACING
Represents event that come from the tracing subsystem. -
Method Summary
Modifier and Type Method Description String
path()
static Event.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static Event.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IO
Represents an event from the IO subsystem. -
ENDPOINT
Represents an event from the Endpoint layer. -
REQUEST
Represents an event around a specific request instance. -
SYSTEM
Represents an event that concerns the JVM/OS/system. -
SERVICE
Represents an event from the Service layer. -
NODE
Represents an event from the Node layer. -
CONFIG
Represents an event from the config subsystem. -
CORE
Represents an event from the upper level core subsystem. -
TRACING
Represents event that come from the tracing subsystem. -
METRICS
Represents events that comes from the metrics subsystem.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
path
-