public enum MemcacheStatus extends Enum<MemcacheStatus>
Enum Constant and Description |
---|
CLIENT_ERROR |
DELETED |
ERROR |
EXISTS |
NOT_FOUND |
NOT_STORED |
OK |
SERVER_ERROR |
STORED |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static MemcacheStatus |
from(io.netty.buffer.ByteBuf buffer) |
String |
toString() |
static MemcacheStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcacheStatus[] |
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 MemcacheStatus UNKNOWN
public static final MemcacheStatus OK
public static final MemcacheStatus ERROR
public static final MemcacheStatus CLIENT_ERROR
public static final MemcacheStatus SERVER_ERROR
public static final MemcacheStatus STORED
public static final MemcacheStatus NOT_STORED
public static final MemcacheStatus EXISTS
public static final MemcacheStatus NOT_FOUND
public static final MemcacheStatus DELETED
public static MemcacheStatus[] values()
for (MemcacheStatus c : MemcacheStatus.values()) System.out.println(c);
public static MemcacheStatus 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 MemcacheStatus from(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
InvalidPacketException
public String toString()
toString
in class Enum<MemcacheStatus>
public void writeBson(org.bson.BsonWriter bsonWriter, SampleDatagramEnrichment enr)
Copyright © 2020. All rights reserved.