public enum HelloFeature extends Enum<HelloFeature>
| Enum Constant and Description |
|---|
ALT_REQUEST |
CLUSTERMAP_CHANGE_NOTIFICATION |
COLLECTIONS |
DATATYPE |
DUPLEX |
JSON |
MUTATION_SEQNO |
OPEN_TRACING |
PRESERVE_TTL |
SELECT_BUCKET |
SNAPPY |
SYNC_REPLICATION |
TCP_DELAY |
TCP_NODELAY |
TLS |
TRACING |
UNORDERED_EXECUTION |
VATTR |
XATTR |
XERROR |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static HelloFeature |
forCode(int code) |
boolean |
isEnabled(io.netty.channel.Channel channel) |
boolean |
isEnabled(io.netty.channel.ChannelHandlerContext ctx) |
String |
toString() |
static HelloFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HelloFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HelloFeature DATATYPE
public static final HelloFeature TLS
public static final HelloFeature TCP_NODELAY
public static final HelloFeature MUTATION_SEQNO
public static final HelloFeature TCP_DELAY
public static final HelloFeature XATTR
public static final HelloFeature XERROR
public static final HelloFeature SELECT_BUCKET
public static final HelloFeature SNAPPY
public static final HelloFeature JSON
public static final HelloFeature DUPLEX
public static final HelloFeature CLUSTERMAP_CHANGE_NOTIFICATION
public static final HelloFeature UNORDERED_EXECUTION
public static final HelloFeature TRACING
public static final HelloFeature ALT_REQUEST
public static final HelloFeature SYNC_REPLICATION
public static final HelloFeature COLLECTIONS
public static final HelloFeature OPEN_TRACING
public static final HelloFeature PRESERVE_TTL
public static final HelloFeature VATTR
public static HelloFeature[] values()
for (HelloFeature c : HelloFeature.values()) System.out.println(c);
public static HelloFeature 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 boolean isEnabled(io.netty.channel.Channel channel)
public boolean isEnabled(io.netty.channel.ChannelHandlerContext ctx)
public int code()
public static HelloFeature forCode(int code)
public String toString()
toString in class Enum<HelloFeature>Copyright © 2021 Couchbase, Inc.. All rights reserved.