public static enum MemcacheProtocol.ServerPushOpcode extends Enum<MemcacheProtocol.ServerPushOpcode>
| Enum Constant and Description |
|---|
ACTIVE_EXTERNAL_USERS |
AUTHENTICATE |
CLUSTERMAP_CHANGE_NOTIFICATION |
| Modifier and Type | Method and Description |
|---|---|
static MemcacheProtocol.ServerPushOpcode |
of(byte input) |
byte |
opcode()
Returns the opcode for the given command.
|
static MemcacheProtocol.ServerPushOpcode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcacheProtocol.ServerPushOpcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemcacheProtocol.ServerPushOpcode CLUSTERMAP_CHANGE_NOTIFICATION
public static final MemcacheProtocol.ServerPushOpcode AUTHENTICATE
public static final MemcacheProtocol.ServerPushOpcode ACTIVE_EXTERNAL_USERS
public static MemcacheProtocol.ServerPushOpcode[] values()
for (MemcacheProtocol.ServerPushOpcode c : MemcacheProtocol.ServerPushOpcode.values()) System.out.println(c);
public static MemcacheProtocol.ServerPushOpcode 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 byte opcode()
@Nullable public static MemcacheProtocol.ServerPushOpcode of(byte input)
Copyright © 2024 Couchbase, Inc.. All rights reserved.