public enum MemcacheCmd extends Enum<MemcacheCmd>
Enum Constant and Description |
---|
ADD |
APPEND |
CAS |
DECR |
DELETE |
FLUSH |
GET |
GETS |
INCR |
OTHER |
PREPEND |
QUIT |
REPLACE |
SET |
STATS |
TOUCH |
VERSION |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static MemcacheCmd |
from(io.netty.buffer.ByteBuf buffer) |
String |
toString() |
static MemcacheCmd |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcacheCmd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeBson(org.bson.BsonWriter bsonWriter,
SampleDatagramEnrichment enr) |
public static final MemcacheCmd OTHER
public static final MemcacheCmd SET
public static final MemcacheCmd ADD
public static final MemcacheCmd REPLACE
public static final MemcacheCmd APPEND
public static final MemcacheCmd PREPEND
public static final MemcacheCmd CAS
public static final MemcacheCmd GET
public static final MemcacheCmd GETS
public static final MemcacheCmd INCR
public static final MemcacheCmd DECR
public static final MemcacheCmd DELETE
public static final MemcacheCmd STATS
public static final MemcacheCmd FLUSH
public static final MemcacheCmd VERSION
public static final MemcacheCmd QUIT
public static final MemcacheCmd TOUCH
public static MemcacheCmd[] values()
for (MemcacheCmd c : MemcacheCmd.values()) System.out.println(c);
public static MemcacheCmd 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 static MemcacheCmd from(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
InvalidPacketException
public String toString()
toString
in class Enum<MemcacheCmd>
public void writeBson(org.bson.BsonWriter bsonWriter, SampleDatagramEnrichment enr)
Copyright © 2020. All rights reserved.