Package com.couchbase.client.core.cnc
Interface Event
- All Known Implementing Classes:
AbstractEvent
,BucketClosedEvent
,BucketConfigRefreshFailedEvent
,BucketConfigUpdatedEvent
,BucketOpenedEvent
,BucketOpenFailedEvent
,BucketOpenInitiatedEvent
,BucketOpenRetriedEvent
,ChannelClosedProactivelyEvent
,CleanupFailedEvent
,CollectionMapDecodingFailedEvent
,CollectionMapRefreshFailedEvent
,CollectionMapRefreshIgnoredEvent
,CollectionMapRefreshSucceededEvent
,CollectionOutdatedHandledEvent
,ConfigIgnoredEvent
,ConfigPushFailedEvent
,ConnectionStringIgnoredEvent
,CoreCreatedEvent
,CustomTlsCiphersEnabledEvent
,DnsSrvLookupDisabledEvent
,DnsSrvLookupFailedEvent
,DnsSrvRecordsLoadedEvent
,DnsSrvRefreshAttemptCompletedEvent
,DnsSrvRefreshAttemptFailedEvent
,DurabilityTimeoutCoercedEvent
,EndpointConnectedEvent
,EndpointConnectionAbortedEvent
,EndpointConnectionFailedEvent
,EndpointConnectionIgnoredEvent
,EndpointDisconnectDelayedEvent
,EndpointDisconnectedEvent
,EndpointDisconnectionFailedEvent
,EndpointDisconnectResumedEvent
,EndpointStateChangedEvent
,EndpointWriteFailedEvent
,ErrorMapLoadedEvent
,ErrorMapLoadingFailedEvent
,ErrorMapUndecodableEvent
,FeaturesNegotiatedEvent
,FeaturesNegotiationFailedEvent
,GenericFailureDetectedEvent
,GlobalConfigRetriedEvent
,GlobalConfigUpdatedEvent
,HighIdleHttpConnectionTimeoutConfiguredEvent
,IdleEndpointRemovedEvent
,IdleStreamingEndpointClosedEvent
,IllegalDocumentStateEvent
,IndividualGlobalConfigLoadFailedEvent
,IndividualGlobalConfigRefreshFailedEvent
,IndividualReplicaGetFailedEvent
,InitGlobalConfigFailedEvent
,InsecureSecurityConfigDetectedEvent
,InvalidPacketDetectedEvent
,InvalidRequestDetectedEvent
,KeyValueErrorMapCodeHandledEvent
,LatencyMetricsAggregatedEvent
,NodeConnectedEvent
,NodeCreatedEvent
,NodeDisconnectedEvent
,NodeDisconnectIgnoredEvent
,NodeLocatorBugIdentifiedEvent
,NodePartitionLengthNotEqualEvent
,NodeStateChangedEvent
,NotMyVbucketReceivedEvent
,OrphanRecordDroppedEvent
,OrphanReporterFailureDetectedEvent
,OrphansRecordedEvent
,OverThresholdRequestsRecordedEvent
,PreparedStatementRetriedEvent
,ReadTrafficCapturedEvent
,ReconfigurationCompletedEvent
,ReconfigurationErrorDetectedEvent
,ReconfigurationIgnoredEvent
,RequestNotRetriedEvent
,RequestRetryScheduledEvent
,SaslAuthenticationCompletedEvent
,SaslAuthenticationFailedEvent
,SaslAuthenticationRestartedEvent
,SaslMechanismsListedEvent
,SaslMechanismsListingFailedEvent
,SaslMechanismsSelectedEvent
,SecureConnectionFailedEvent
,SeedNodesUpdatedEvent
,SeedNodesUpdateFailedEvent
,SelectBucketCompletedEvent
,SelectBucketFailedEvent
,ServiceAddedEvent
,ServiceAddIgnoredEvent
,ServiceConnectInitiatedEvent
,ServiceDisconnectInitiatedEvent
,ServiceReconfigurationFailedEvent
,ServiceRemovedEvent
,ServiceRemoveIgnoredEvent
,ServiceStateChangedEvent
,ShutdownCompletedEvent
,ShutdownInitiatedEvent
,TlsRequiredButNotEnabledEvent
,TooManyInstancesDetectedEvent
,TransactionCleanupAttemptEvent
,TransactionCleanupEndRunEvent
,TransactionCleanupStartRunEvent
,TransactionEvent
,TransactionLogEvent
,TransactionsStartedEvent
,UnexpectedEndpointConnectionFailedEvent
,UnexpectedEndpointDisconnectedEvent
,UnknownResponseReceivedEvent
,UnknownResponseStatusReceivedEvent
,UnknownSaslMechanismDetectedEvent
,UnknownServerPushRequestReceivedEvent
,UnsolicitedFeaturesReturnedEvent
,UnsupportedResponseTypeReceivedEvent
,WaitUntilReadyCompletedEvent
,WatchdogInvalidStateIdentifiedEvent
,WatchdogRunFailedEvent
,WriteTrafficCapturedEvent
public interface Event
The parent interface for all events pushed through the command and
control system.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Describes the category of any given event.static enum
Describes the severity of any given event. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncategory()
The Category of this event.default Throwable
cause()
If present, holds the cause for this event.context()
The context this event is referencing.created()
Returns the creation timestamp of this event.long
Deprecated.A textual description with more information about the event.duration()
Returns the duration of this event.severity()
The Severity of this event.
-
Field Details
-
CATEGORY_PREFIX
- See Also:
-
-
Method Details
-
createdAt
Deprecated.Please usecreated()
instead.Returns the value ofSystem.nanoTime()
when the event was created. -
created
Instant created()Returns the creation timestamp of this event. -
severity
Event.Severity severity()The Severity of this event.- Returns:
- the event severity.
-
category
String category()The Category of this event.- Returns:
- the event category.
-
duration
Duration duration()Returns the duration of this event.- Returns:
- the duration of the even, 0 if not set.
-
context
Context context()The context this event is referencing.- Returns:
- the referencing context.
-
description
String description()A textual description with more information about the event.- Returns:
- the description, if set.
-
cause
If present, holds the cause for this event. Usually present if raised because of an excetion.- Returns:
- the throwable if present.
-
created()
instead.