| Package | Description |
|---|---|
| com.couchbase.client.core.env |
| Modifier and Type | Method and Description |
|---|---|
static IoEnvironment.Builder |
IoEnvironment.analyticsEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.analyticsEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the analytics service.
|
static IoEnvironment.Builder |
IoEnvironment.backupEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.backupEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the backup service.
|
static IoEnvironment.Builder |
IoEnvironment.builder()
Deprecated.
Instead of creating a new builder, please use
CoreEnvironment.Builder.ioEnvironment(Consumer)
and configure the builder passed to the consumer.
Note: CoreEnvironment is a base class; you'll
probably call that method via a subclass named
ClusterEnvironment. |
static IoEnvironment.Builder |
IoEnvironment.enableNativeIo(boolean nativeIoEnabled)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.enableNativeIo(boolean nativeIoEnabled)
If set to false (enabled by default) will force using the java NIO based IO transport.
|
static IoEnvironment.Builder |
IoEnvironment.eventingEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.eventingEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the eventing service.
|
static IoEnvironment.Builder |
IoEnvironment.eventLoopThreadCount(int eventLoopThreadCount)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.eventLoopThreadCount(int eventLoopThreadCount)
Overrides the number of threads used per event loop.
|
IoEnvironment.Builder |
CoreEnvironment.Builder.ioEnvironment()
Deprecated.
Please use
CoreEnvironment.Builder.ioEnvironmentConfig() instead. |
IoEnvironment.Builder |
CoreEnvironment.Builder.ioEnvironmentConfig()
Returns the currently stored IoEnvironment builder.
|
static IoEnvironment.Builder |
IoEnvironment.kvEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.kvEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the KV service.
|
static IoEnvironment.Builder |
IoEnvironment.managerEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.managerEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the management service.
|
static IoEnvironment.Builder |
IoEnvironment.queryEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.queryEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the query service.
|
static IoEnvironment.Builder |
IoEnvironment.searchEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.searchEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the search service.
|
static IoEnvironment.Builder |
IoEnvironment.viewEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Deprecated.
This method creates a new builder. Please see the deprecation notice on
IoEnvironment.builder(). |
IoEnvironment.Builder |
IoEnvironment.Builder.viewEventLoopGroup(com.couchbase.client.core.deps.io.netty.channel.EventLoopGroup eventLoopGroup)
Allows to specify a custom event loop group (I/O event loop thread pool) for the view service.
|
| Modifier and Type | Method and Description |
|---|---|
SELF |
CoreEnvironment.Builder.ioEnvironment(IoEnvironment.Builder ioEnvironment)
Deprecated.
This method clobbers any previously configured values. Please use
CoreEnvironment.Builder.ioEnvironment(Consumer) instead. |
| Modifier and Type | Method and Description |
|---|---|
SELF |
CoreEnvironment.Builder.ioEnvironment(Consumer<IoEnvironment.Builder> builderConsumer)
Passes the
IoEnvironment.Builder to the provided consumer. |
Copyright © 2024 Couchbase, Inc.. All rights reserved.