| Enum Constant | Description |
|---|---|
BLOCK_CHECKSUM |
|
BLOCK_GROUP_CHECKSUM |
|
COPY_BLOCK |
|
CUSTOM |
|
READ_BLOCK |
|
READ_METADATA |
|
RELEASE_SHORT_CIRCUIT_FDS |
|
REPLACE_BLOCK |
|
REQUEST_SHORT_CIRCUIT_FDS |
|
REQUEST_SHORT_CIRCUIT_SHM |
|
TRANSFER_BLOCK |
|
WRITE_BLOCK |
| Modifier and Type | Field | Description |
|---|---|---|
byte |
code |
The code for this operation.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Op |
read(java.io.DataInput in) |
Read from in
|
static Op |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Op[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(java.io.DataOutput out) |
Write to out
|
public static final Op WRITE_BLOCK
public static final Op READ_BLOCK
public static final Op READ_METADATA
public static final Op REPLACE_BLOCK
public static final Op COPY_BLOCK
public static final Op BLOCK_CHECKSUM
public static final Op TRANSFER_BLOCK
public static final Op REQUEST_SHORT_CIRCUIT_FDS
public static final Op RELEASE_SHORT_CIRCUIT_FDS
public static final Op REQUEST_SHORT_CIRCUIT_SHM
public static final Op BLOCK_GROUP_CHECKSUM
public static final Op CUSTOM
public static Op[] values()
for (Op c : Op.values()) System.out.println(c);
public static Op 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 nullpublic static Op read(java.io.DataInput in) throws java.io.IOException
java.io.IOExceptionpublic void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.