public interface Event
Modifier and Type | Interface and Description |
---|---|
static class |
Event.Category
Describes the category of any given event.
|
static class |
Event.Severity
Describes the severity of any given event.
|
Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY_PREFIX |
Modifier and Type | Method and Description |
---|---|
String |
category()
The Category of this event.
|
default Throwable |
cause()
If present, holds the cause for this event.
|
Context |
context()
The context this event is referencing.
|
long |
createdAt()
Contains a nano timestamp when the event was created.
|
String |
description()
A textual description with more information about the event.
|
Duration |
duration()
Returns the duration of this event.
|
Event.Severity |
severity()
The Severity of this event.
|
static final String CATEGORY_PREFIX
long createdAt()
Event.Severity severity()
String category()
Duration duration()
Context context()
String description()
default Throwable cause()
Copyright © 2020 Couchbase, Inc.. All rights reserved.