Package com.couchbase.client.core.util
package com.couchbase.client.core.util
-
ClassDescriptionAtomicEnumSet<E extends Enum<E>>A thread-safe cousin of
EnumSet
that performs well in use cases dominated by reads.Defines helpful routines for working with bucket configs.Defines useful constants and methods regarding bytes.Defines helpful routines for working with cluster capabilities.CompositeStateful<T,IN, OUT> Represents a stateful component of one or more individual stateful elements.Implements aConnectionString
.Contains various helper methods when dealing with the connection string.Helper routines for tests to wait for all nodes to have a consistent view of a resource.Integrates the Couchbase infrastructure withBlockHound
.The default implementation for performing DNS SRV lookups.Either<L,R> EnumLookupTable<E extends Enum<E>>Provides efficient lookup for enums whose values are associated with small integers.Helper methods that have to do with certain golang-specific format the server uses.A host (hostname or IP address) and a port number.IntMap<E>A read-only map where the keys are non-negative integers.Approximates Java 9's java.lang.ref.CleanerAn object and a cleaning action registered in a Cleaner.Useful when only the latest value of a Flux is interesting, and processing values is relatively expensive.LRUCache<K,V> Implements a generic LRU cache which evicts after the max size is reached.A convenient wrapper class around network primitives in Java.Indicates that at least one purpose of the annotated field is to prevent the value from being garbage collected.Represents a single stateful component.Stateful<S>Common interface for stateful components.Encodes and decodes the unsigned LEB128 (Little Endian Base 128) format.Common validators used throughout the client.