All Classes and Interfaces

Class
Description
 
Abstract Stateful implementation which acts like a simple state machine.
Tracks the results of an action that can succeed or fail.
 
Tracks the results and of an action that can succeed or fail, along with elapsed time.
 
A stateful wrapper around a Delay.
 
Dispatches events in a separate dedicated thread.
A boolean array in which elements may be updated atomically.
 
 
Performs SASL authentication against the socket and once complete removes itself.
Subset of the BlockingQueue interface that should be exposed to consumers.
This exception indicates an error during bootstrap.
Describes the bucket capabilities in an abstract fashion as provided by the server.
Represents a Couchbase Bucket Configuration.
Manages the bucket config stream.
 
An abstraction over the bucket parser which takes a raw config as a string and turns it into a BucketConfig.
 
 
 
Represents the node locator used for the specific bucket type.
 
Defines the relationship between a bucket and a service.
Represents the possible bucket types.
 
Performs authentication through a client certificate instead of supplying username and password.
 
 
Various netty channel related utility methods.
This Client provides the main API to configure and use the DCP client.
Builder object to customize the Client creation.
The Client.Environment is responsible to carry various configuration and state information throughout the lifecycle.
Issues ordinary NOOP requests to the server when the DCP channel is idle.
 
 
 
 
 
A collections manifest optimized for lookups by collection ID, and for evolution via DCP system events.
 
 
 
 
 
A generic interface which determines the name for a DCP connection.
 
 
 
 
This interface acts as a callback on the Client.controlEventHandler(ControlEventHandler) API that allows one to react to control events.
A configuration representing the couchbase bucket.
Defines the generic couchbase event pushed through the event bus.
Common parent exception to build a proper exception hierarchy inside the driver.
Represents the partition information for a bucket.
This SaslClientFactory supports all couchbase supported SASL authentication mechanisms.
 
 
Optionally auto-acknowledges events as they are consumed.
 
 
This interface acts as a callback on the Client.dataEventHandler(DataEventHandler) API that allows one to react to data events.
https://github.com/couchbase/kv_engine/blob/master/docs/BinaryProtocol.md#data-types
Sent to the consumer to tell the consumer to initiate a stream request with the producer
 
A wrapper around a CouchbaseBucketConfig that automatically resolves alternate addresses and analyzes the partition map to support persistence polling.
 
Logical representation of a DCP cluster connection.
 
 
 
 
 
Opens the DCP connection on the channel and once established removes itself.
This class is used during bootstrap to configure all the possible DCP negotiation parameters.
All the possible control options available.
Negotiates DCP control flags once connected and removes itself afterwards.
 
 
 
 
 
 
 
 
 
 
A ChannelHandler that logs all events using a logging framework.
Handles the "business logic" of incoming DCP mutation and control messages.
 
 
 
 
 
 
 
 
Thrown when response status field is non-zero.
 
Sets up the pipeline for the actual DCP communication channels.
Sends DCP requests to the server.
 
Type alias.
 
This message is used during the VBucket takeover process to hand off ownership of a VBucket between two nodes.
 
 
 
 
 
 
 
 
 
The default implementation for the ConnectionNameGenerator.
 
Like com.couchbase.client.dcp.core.event.DefaultEventBus but buffers on backpressure instead of dropping.
 
Default implementation of NodeInfo.
Provides global access to the services of a Jackson ObjectMapper with default configuration.
 
 
Parent class of Delays and provides factory methods to create them.
 
 
 
Tracks occurrences of an event.
 
 
Bridges the gap between the various low-level callback handlers and the high-level DatabaseChangeListener.
Utility methods for event handling.
 
Delay which increases exponentially on every attempt.
Event published when the connector has failed to add new node during failover/rebalance.
Event published when the connector has failed to move partition to new node during failover/rebalance.
Event published when the connector has failed to remove node during failover/rebalance.
 
Represents a single entry in a failover log per partition state.
Delay which is fixed for every attempt.
 
 
 
A user event indicating the connection should be failed if the handshake is not yet complete.
Collaborates with ConnectInterceptingHandler to fail the connection if the handshake takes too long.
 
 
 
Dispatches events in the same thread that calls the dispatch method.
Knows how to parse the collection ID out of a message's key field.
**Represents common lifecycle states of components.**
Delay which increases linearly for every attempt.
 
 
Various math utility methods, also backports from later JDK versions.
This interface defines different hashing strategies used for ketama hashing in memcached buckets.
 
 
 
 
 
ShutdownHook hook that does nothing and returns true.
Thrown if the stateful component is not connected.
Created by daschl on 01/09/16.
 
 
An immutable pair consisting of a partition and an associated sequence number.
Represents the individual current session state for a given partition.
 
For each partition, holds the persisted sequence number and vbucket UUID for the active and replicas.
 
 
Represents a logging argument which is subject to redaction.
The type of the redactable argument.
Allows to specify the level of log redaction.
Response status codes and messages, as defined in the Response Status section of the Couchbase Binary Protocol specification.
 
Indicates a rollback happened, used as an internal messaging event.
 
 
 
 
 
 
 
 
 
The SaslClientFactory supporting various SCRAM-SHA modes.
TLS options.
This builder allows to customize the default security configuration.
Think of this as a document change event without a document.
Utils for handling server-initiated requests when DUPLEX mode is active
Represents the different ServiceTypes and how they map onto buckets.
Holds the state information for the current session (all partitions involved).
Jackson JSON deserializer for SessionState and PartitionState.
Jackson JSON serializer for SessionState and PartitionState.
Interface to describe shutdown behavior for a resource that can be asynchronously shut down.
 
 
 
Flags, used in snapshot messages.
 
This factory creates SslHandler based on a given configuration.
Defines the support import/export formats for a SessionState.
Stateful<S extends Enum>
A stateful component that changes its state and notifies subscribed parties.
 
 
Event published when stream has stopped activity.
Code describing why producer decided to close the stream.
When rollback mitigation / persistence polling is enabled, the stream event buffer intercepts stream events and stores them until being notified that persistence is observed.
 
Flags, that could be used when initiating new vBucket stream.
From which point in time to start the DCP stream.
Position in a DCP stream for a particular vbucket.
Up to which point the DCP stream should run.
This interface acts as a callback on the Client.systemEventHandler(SystemEventHandler) API that allows one to react to system events.
Callback handler for various events that might occur while the DCP client is running.
Static factory class for various Tuples.
A container for two values.
Encodes and decodes the unsigned LEB128 (Little Endian Base 128) format.
Generates a User Agent string in accordance with https://tools.ietf.org/html/rfc7231#section-5.5.3
 
Representation of a software version, up to major.minor.patch granularity.