Uses of Interface
com.couchbase.client.core.cnc.Event
-
-
Uses of Event in com.couchbase.client.core.cnc
Classes in com.couchbase.client.core.cnc that implement Event Modifier and Type Class Description classAbstractEventThisEventimplementation can be used as a base event to inherit from.Methods in com.couchbase.client.core.cnc that return types with arguments of type Event Modifier and Type Method Description List<Event>SimpleEventBus. publishedEvents()Methods in com.couchbase.client.core.cnc with parameters of type Event Modifier and Type Method Description voidLoggingEventConsumer. accept(Event event)EventBus.PublishResultDefaultEventBus. publish(Event event)EventBus.PublishResultEventBus. publish(Event event)Try to publish an event.EventBus.PublishResultSimpleEventBus. publish(Event event)Method parameters in com.couchbase.client.core.cnc with type arguments of type Event Modifier and Type Method Description EventSubscriptionDefaultEventBus. subscribe(Consumer<Event> consumer)EventSubscriptionEventBus. subscribe(Consumer<Event> consumer)EventSubscriptionSimpleEventBus. subscribe(Consumer<Event> consumer)Constructor parameters in com.couchbase.client.core.cnc with type arguments of type Event Constructor Description SimpleEventBus(boolean ignoreSystemEvents, List<Class<? extends Event>> othersToIgnore)Creates a newSimpleEventBus. -
Uses of Event in com.couchbase.client.core.cnc.events.config
Classes in com.couchbase.client.core.cnc.events.config that implement Event Modifier and Type Class Description classBucketConfigRefreshFailedEventclassBucketConfigUpdatedEventThis event is raised when a bucket config has been updated.classBucketOpenRetriedEventThis event is raised if a bucket could not be opened and is retried, for debugging reasons.classCollectionMapDecodingFailedEventThis event is raised if a collection map could be loaded, but afterwards cannot be decoded and used as intended.classCollectionMapRefreshFailedEventThis event is raised if a collection map could not be refreshed properly.classCollectionMapRefreshIgnoredEventThis event is raised if an individual collection refresh is ignored.classCollectionMapRefreshSucceededEventThis event is raised if an individual collection map refresh attempt succeeded.classConfigIgnoredEventclassGlobalConfigRetriedEventThis event is raised if fetching the global config failed and can be retried.classGlobalConfigUpdatedEventclassHighIdleHttpConnectionTimeoutConfiguredEventThis event is raised if the user configures a idleHttpConnectionTimeout over 4.5 seconds, which will have some negative side effects on most services.classIndividualGlobalConfigLoadFailedEventRaised if an individual global config load event failed but it is not raised as a warning because progress has been made from another host so it can be ignored (but is still relevant for debugging purposes).classInsecureSecurityConfigDetectedEventThis event is raised if the SDK sees a potentially insecurely configured security config.classSeedNodesUpdatedEventThis event is emitted when seed nodes are updated in the configuration provider. -
Uses of Event in com.couchbase.client.core.cnc.events.core
Classes in com.couchbase.client.core.cnc.events.core that implement Event Modifier and Type Class Description classBucketClosedEventThis event is raised once a bucket has been closed.classBucketOpenedEventThis event is raised once a bucket has been opened.classBucketOpenFailedEventReports a bucket open failure which has not been retried.classBucketOpenInitiatedEventThis event is raised when a bucket is supposed to be opened.classCoreCreatedEventThis event is emitted when aCoreis created.classDnsSrvLookupDisabledEventRaised if dns srv lookup was not performed, either because it has been disabled on the environment or because the hostname list passed in did not qualify.classDnsSrvLookupFailedEventThe client attempted a DNS SRV lookup but it failed.classDnsSrvRecordsLoadedEventRaised when the SDK could properly load hostnames from a DNS SRV record.classInitGlobalConfigFailedEventRaised when a global config could not be loaded.classReconfigurationCompletedEventClient got a new config and completed the reconfiguration properly without issue.classReconfigurationErrorDetectedEventThe client ran into an error during a config reconfiguration event.classReconfigurationIgnoredEventClient got a new config, but for some valid reason the event is ignored.classServiceReconfigurationFailedEventclassShutdownCompletedEventRaised when a core is successfully shut down.classShutdownInitiatedEventThis event is raised when the core is beginning to shut down.classWaitUntilReadyCompletedEvent -
Uses of Event in com.couchbase.client.core.cnc.events.endpoint
Classes in com.couchbase.client.core.cnc.events.endpoint that implement Event Modifier and Type Class Description classEndpointConnectedEventThis event is published when an endpoint is connected properly.classEndpointConnectionAbortedEventThis event is published when an endpoint is in the phase of reconnecting because of an error, but disconnect was called in the meantime and as a result any further reconnect attempts are aborted.classEndpointConnectionFailedEventThis event is published when an endpoint connect attempt failed.classEndpointConnectionIgnoredEventThis event is published when an endpoint is connected properly but a disconnect signal came before so it is ignored.classEndpointDisconnectedEventThis event is generated when an endpoint is correctly disconnected.classEndpointDisconnectionFailedEventThis event is raised if an endpoint disconnect attempt failed for some reason.classEndpointStateChangedEventThis event is raised when an endpoint changes its underlying state.classEndpointWriteFailedEventThis event is raised if the actual IO write and flush (into netty) failed.classUnexpectedEndpointConnectionFailedEventDuring connecting to an endpoint, an exception/error was raised which was not expected.classUnexpectedEndpointDisconnectedEventThis event is usually raised if the server closes the socket and the client didn't expect it. -
Uses of Event in com.couchbase.client.core.cnc.events.io
Classes in com.couchbase.client.core.cnc.events.io that implement Event Modifier and Type Class Description classChannelClosedProactivelyEventThis warning indicates that the client closed an active IO channel/socket proactively because it detected an invalid state.classCollectionOutdatedHandledEventclassCustomTlsCiphersEnabledEventThis event is emitted if the user has configured a custom list of tls ciphers.classDurabilityTimeoutCoercedEventThis event is raised if a durability timeout has been provided out of the allowed range and is coerced into a sane and supported value.classErrorMapLoadedEventThe KV error map got negotiated loaded from the server.classErrorMapLoadingFailedEventIf loading the KV error map for some reason fails, this event will capture the KV status code.classErrorMapUndecodableEventIf the KV error map could be loaded, but the decoding of the buffer from JSON failed, this event will be raised.classFeaturesNegotiatedEventCaptures the end of the KV feature negotiation.classFeaturesNegotiationFailedEventclassGenericFailureDetectedEventclassIdleStreamingEndpointClosedEventRaised when a http config streaming connection is closed because of the configured configIdleRedialTimeout.classInvalidPacketDetectedEventThis event is created if somewhere in the IO layer an invalid packet was detected.classInvalidRequestDetectedEventIf this event is raised, it indicates a serious bug in the system.classKeyValueErrorMapCodeHandledEventRaised if an unknown error is decoded and handled through the KV error map.classNotMyVbucketReceivedEventThis event is raised if a KV response with "not my vbucket" is received.classReadTrafficCapturedEventclassSaslAuthenticationCompletedEventclassSaslAuthenticationFailedEventIf something goes wrong during the SASL authentication process, this event is raised.classSaslAuthenticationRestartedEventThis event is raised if we need to re-do the SASL auth for a connection because the mechanisms did not match up with the best-effort first try.classSaslMechanismsListedEventThis debug event signals that SASL auth mechanisms have been listed from the server.classSaslMechanismsListingFailedEventclassSaslMechanismsSelectedEventThis debug event signals that a SASL auth mechanism has been negotiated between the client and the server.classSecureConnectionFailedEventclassSelectBucketCompletedEventThis event gets created as soon as a bucket has been selected during the KV bootstrap process for each socket/node.classSelectBucketFailedEventIf selecting a bucket during KV bootstrap fails, this is a really problematic issue and needs to be looked at.classUnknownResponseReceivedEventclassUnknownResponseStatusReceivedEventclassUnknownSaslMechanismDetectedEventThis event is raised if the client detects an unknown SASL mechanism it cannot turn into an enum.classUnsolicitedFeaturesReturnedEventIf the server sends us unsolicited features during the HELLO negotiation, this event will be raised - it is a warning severity since it indicates a server bug.classUnsupportedResponseTypeReceivedEventclassWriteTrafficCapturedEvent -
Uses of Event in com.couchbase.client.core.cnc.events.metrics
Classes in com.couchbase.client.core.cnc.events.metrics that implement Event Modifier and Type Class Description classLatencyMetricsAggregatedEventThis event is emitted every configured aggregating meter interval. -
Uses of Event in com.couchbase.client.core.cnc.events.node
Classes in com.couchbase.client.core.cnc.events.node that implement Event Modifier and Type Class Description classNodeConnectedEventThis event is generated when a node is correctly connected.classNodeDisconnectedEventThis event is generated when a node is correctly disconnected.classNodeDisconnectIgnoredEventclassNodeLocatorBugIdentifiedEventclassNodePartitionLengthNotEqualEventclassNodeStateChangedEvent -
Uses of Event in com.couchbase.client.core.cnc.events.request
Classes in com.couchbase.client.core.cnc.events.request that implement Event Modifier and Type Class Description classIndividualReplicaGetFailedEventWhen a replica get fetches more than one in one shot and an individual item fails it will be ignored, but this event is logged to aid with debugging.classPreparedStatementRetriedEventclassRequestNotRetriedEventThis event is raised if a request is not retried anymore.classRequestRetryScheduledEvent -
Uses of Event in com.couchbase.client.core.cnc.events.service
Classes in com.couchbase.client.core.cnc.events.service that implement Event Modifier and Type Class Description classIdleEndpointRemovedEventclassServiceAddedEventclassServiceAddIgnoredEventclassServiceConnectInitiatedEventclassServiceDisconnectInitiatedEventclassServiceRemovedEventclassServiceRemoveIgnoredEventclassServiceStateChangedEventThis event is raised every time aServicechanges its state. -
Uses of Event in com.couchbase.client.core.cnc.events.tracing
Classes in com.couchbase.client.core.cnc.events.tracing that implement Event Modifier and Type Class Description classOrphanRecordDroppedEventThe client had to drop the orphan record because there queue is already full with processing other orphaned events.classOrphanReporterFailureDetectedEventRaised when an exception happens during orphan reporting.classOrphansRecordedEventEmits orphaned requests which can be used to analyze slow requests.classOverThresholdRequestsRecordedEventEmits the over threshold requests which can be used to analyze slow requests.
-