public static enum DcpControl.Names extends Enum<DcpControl.Names>
Note that not all params might be supported by the used server version, see the description for each for more information.
| Enum Constant and Description |
|---|
CONNECTION_BUFFER_SIZE
Used to tell the Producer the size of the Consumer side buffer in bytes which
the Consumer is using for flow control.
|
ENABLE_EXT_METADATA
Enables sending extended meta data.
|
ENABLE_NOOP
Used to enable to tell the Producer that the Consumer supports detecting
dead connections through the use of a noop.
|
ENABLE_VALUE_COMPRESSION
Deprecated.
in favor of specifying compression settings by calling
DcpControl.compression(CompressionMode). Scheduled for removal in next major version. |
SET_NOOP_INTERVAL
Sets the noop interval on the Producer.
|
SET_PRIORITY
Sets the priority that the connection should have when sending data.
|
SUPPORTS_CURSOR_DROPPING
Tells the server that the client can tolerate the server dropping the connection.
|
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static DcpControl.Names |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DcpControl.Names[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DcpControl.Names ENABLE_NOOP
public static final DcpControl.Names CONNECTION_BUFFER_SIZE
public static final DcpControl.Names SET_NOOP_INTERVAL
public static final DcpControl.Names SET_PRIORITY
public static final DcpControl.Names ENABLE_EXT_METADATA
@Deprecated public static final DcpControl.Names ENABLE_VALUE_COMPRESSION
DcpControl.compression(CompressionMode). Scheduled for removal in next major version.public static final DcpControl.Names SUPPORTS_CURSOR_DROPPING
public static DcpControl.Names[] values()
for (DcpControl.Names c : DcpControl.Names.values()) System.out.println(c);
public static DcpControl.Names valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
Copyright © 2021 Couchbase, Inc.. All rights reserved.