Uses of Class
com.couchbase.client.dcp.Client.Builder
Packages that use Client.Builder
-
Uses of Client.Builder in com.couchbase.client.dcp
Methods in com.couchbase.client.dcp that return Client.BuilderModifier and TypeMethodDescriptionClient.Builder.authenticator(Authenticator authenticator) Client.Builder.bootstrapTimeout(Duration bootstrapTimeout) Time to wait for first configuration during bootstrap.The name of the bucket to use.Client.Builder.bufferAckWatermark(int watermark) The buffer acknowledge watermark in percent.static Client.BuilderClient.builder()Client.Builder.collectionIds(long... collectionIds) Configures the client to stream only from the collections identified by the given IDs.Client.Builder.collectionIds(Collection<Long> collectionIds) Configures the client to stream only from the collections identified by the given IDs.Client.Builder.collectionNames(String... qualifiedCollectionNames) Client.Builder.collectionNames(Collection<String> qualifiedCollectionNames) Client.Builder.collectionsAware(boolean enable) Controls whether the client operates in collections-aware mode (defaults to false).Client.Builder.compression(CompressionMode compressionMode) Sets the compression mode for message values sent by Couchbase Server.Client.Builder.configRefreshInterval(Duration configRefreshInterval) When connecting to versions of Couchbase Server older than 5.5, the DCP client polls the server for cluster topology config changes at the specified interval.static Client.BuilderClient.configure()Deprecated.Client.Builder.connectionNameGenerator(ConnectionNameGenerator connectionNameGenerator) If specific names for DCP connections should be generated, a custom one can be provided.Client.Builder.connectionString(ConnectionString connectionString) Client.Builder.connectionString(String connectionString) Connection string to bootstrap with.Client.Builder.controlParam(DcpControl.Names name, Object value) Sets a DCP control parameter.Client.Builder.controlParam(String name, Object value) Sets an arbitrary DCP control parameter.Client.Builder.credentials(String username, String password) Client.Builder.credentialsProvider(CredentialsProvider credentialsProvider) Client.Builder.dcpChannelsReconnectDelay(Delay ignored) Deprecated.Doesn't do anything.Client.Builder.dcpChannelsReconnectMaxAttempts(int dcpChannelsReconnectMaxAttempts) The maximum number of reconnect attempts for DCP channelsSets the event bus to an alternative implementation.Client.Builder.eventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup) Sets a custom event loop group.Client.Builder.flowControl(int bufferSizeInBytes) Enables flow control with the specified buffer size (in bytes) and a reasonable default buffer ACK threshold.Deprecated.useseedNodes(String...)instead.Deprecated.useseedNodes(Collection)instead.Client.Builder.meterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry) Specifies the registry the client should use when tracking metrics.Client.Builder.mitigateRollbacks(long persistencePollingInterval, TimeUnit unit) Enables rollback mitigation with the specified persistence polling interval.Client.Builder.networkResolution(NetworkResolution nr) Network selection strategy for connecting to clusters whose nodes have alternate hostnames.Client.Builder.noValue(boolean noValue) If the argument is true, configures the client to receive only document keys and metadata (no contents).Client.Builder.poolBuffers(boolean pool) If buffer pooling should be enabled (yes by default).Client.Builder.scopeId(long scopeId) Configures the client to stream only from the scope identified by the given ID.Configures the client to stream only from the scope identified by the given ID.Client.Builder.securityConfig(SecurityConfig securityConfig) Deprecated.Please usesecurityConfig(Consumer)instead.Client.Builder.securityConfig(SecurityConfig.Builder securityConfigBuilder) Deprecated.Please usesecurityConfig(Consumer)instead.Client.Builder.securityConfig(Consumer<SecurityConfig.Builder> configurator) Sets the addresses of the Couchbase Server nodes to bootstrap against.Client.Builder.seedNodes(Collection<String> addresses) Sets the addresses of the Couchbase Server nodes to bootstrap against.Client.Builder.socketConnectTimeout(long socketConnectTimeout) Sets a custom socket connect timeout.Enables fine-grained trace logging to the "com.couchbase.client.dcp.trace" category.Sets the product information to include in the DCP client's User Agent string.Client.Builder.xattrs(boolean xattrs) If the argument is true, configures the client to receive extended attributes (XATTRS).
Client.builder()