Package com.couchbase.client.core.cnc
Enum Event.Category
- java.lang.Object
-
- java.lang.Enum<Event.Category>
-
- com.couchbase.client.core.cnc.Event.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<Event.Category>
- Enclosing interface:
- Event
public static enum Event.Category extends Enum<Event.Category>
Describes the category of any given event.
-
-
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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
IO
public static final Event.Category IO
Represents an event from the IO subsystem.
-
ENDPOINT
public static final Event.Category ENDPOINT
Represents an event from the Endpoint layer.
-
REQUEST
public static final Event.Category REQUEST
Represents an event around a specific request instance.
-
SYSTEM
public static final Event.Category SYSTEM
Represents an event that concerns the JVM/OS/system.
-
SERVICE
public static final Event.Category SERVICE
Represents an event from the Service layer.
-
NODE
public static final Event.Category NODE
Represents an event from the Node layer.
-
CONFIG
public static final Event.Category CONFIG
Represents an event from the config subsystem.
-
CORE
public static final Event.Category CORE
Represents an event from the upper level core subsystem.
-
TRACING
public static final Event.Category TRACING
Represents event that come from the tracing subsystem.
-
METRICS
public static final Event.Category METRICS
Represents events that comes from the metrics subsystem.
-
-
Method Detail
-
values
public static Event.Category[] 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 (Event.Category c : Event.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Event.Category 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
-
path
public String path()
-
-