@Deprecated public enum ControlParameter extends Enum<ControlParameter>
Enum Constant and Description |
---|
CONNECTION_BUFFER_SIZE
Deprecated.
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
Deprecated.
Enables sending extended meta data.
|
ENABLE_NOOP
Deprecated.
Used to enable to tell the Producer that the Consumer supports detecting
dead connections through the use of a noop.
|
ENABLE_VALUE_COMPRESSION
Deprecated.
Compresses values using snappy compression before sending them.
|
SET_NOOP_INTERVAL
Deprecated.
Sets the noop interval on the Producer.
|
SET_PRIORITY
Deprecated.
Sets the priority that the connection should have when sending data.
|
SUPPORTS_CURSOR_DROPPING
Deprecated.
Tells the server that the client can tolerate the server dropping the connection.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Deprecated.
|
static ControlParameter |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ControlParameter[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlParameter ENABLE_NOOP
public static final ControlParameter CONNECTION_BUFFER_SIZE
public static final ControlParameter SET_NOOP_INTERVAL
public static final ControlParameter SET_PRIORITY
public static final ControlParameter ENABLE_EXT_METADATA
public static final ControlParameter ENABLE_VALUE_COMPRESSION
public static final ControlParameter SUPPORTS_CURSOR_DROPPING
public static ControlParameter[] values()
for (ControlParameter c : ControlParameter.values()) System.out.println(c);
public static ControlParameter 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 © 2017 Couchbase, Inc.. All rights reserved.