public enum OperationState extends java.lang.Enum<OperationState>
Enum Constant and Description |
---|
COMPLETE
State indicating this operation is complete.
|
READING
State indicating this operation is reading data from the server.
|
RETRY
State indicating this operation needs to be resent.
|
WRITE_QUEUED
State indicating this operation is waiting to be written to the server.
|
WRITING
State indicating this operation is writing data to the server.
|
Modifier and Type | Method and Description |
---|---|
static OperationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationState WRITE_QUEUED
public static final OperationState WRITING
public static final OperationState READING
public static final OperationState COMPLETE
public static final OperationState RETRY
public static OperationState[] values()
for (OperationState c : OperationState.values()) System.out.println(c);
public static OperationState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.