public enum ControlParameter extends Enum<ControlParameter>
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
Compresses values using snappy compression before sending them.
|
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 ControlParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlParameter[] |
values()
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 © 2016 Couchbase, Inc.. All rights reserved.