public enum GridGgfsIpcCommand extends Enum<GridGgfsIpcCommand>
| Enum Constant and Description |
|---|
AFFINITY
Get affinity block locations for data blocks of the file.
|
CLOSE
Close stream.
|
CONTROL_RESPONSE
Server response.
|
DELETE
Delete file.
|
EXISTS
Check specified path exists in the file system.
|
HANDSHAKE
Handshake command which will send information necessary for client to handle requests correctly.
|
INFO
Get information for the file in specified path.
|
LIST_FILES
List files under the specified path.
|
LIST_PATHS
List files under the specified path.
|
MAKE_DIRECTORIES
Make directories.
|
OPEN_APPEND
Open existent file as output stream to append data to.
|
OPEN_CREATE
Create file and open output stream for writing data to.
|
OPEN_READ
Open file for reading as an input stream.
|
PATH_SUMMARY
Get directory summary.
|
READ_BLOCK
Read file's data block.
|
RENAME
Rename file.
|
SET_TIMES
Updates last access and last modification time for a path.
|
STATUS
GGFS status (free/used space).
|
UPDATE
Update information for the file in specified path.
|
WRITE_BLOCK
Write file's data block.
|
| Modifier and Type | Method and Description |
|---|---|
static GridGgfsIpcCommand |
valueOf(int ordinal)
Resolve command by its ordinal.
|
static GridGgfsIpcCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridGgfsIpcCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridGgfsIpcCommand HANDSHAKE
public static final GridGgfsIpcCommand STATUS
public static final GridGgfsIpcCommand EXISTS
public static final GridGgfsIpcCommand INFO
public static final GridGgfsIpcCommand PATH_SUMMARY
public static final GridGgfsIpcCommand UPDATE
public static final GridGgfsIpcCommand RENAME
public static final GridGgfsIpcCommand DELETE
public static final GridGgfsIpcCommand MAKE_DIRECTORIES
public static final GridGgfsIpcCommand LIST_PATHS
public static final GridGgfsIpcCommand LIST_FILES
public static final GridGgfsIpcCommand AFFINITY
public static final GridGgfsIpcCommand SET_TIMES
public static final GridGgfsIpcCommand OPEN_READ
public static final GridGgfsIpcCommand OPEN_APPEND
public static final GridGgfsIpcCommand OPEN_CREATE
public static final GridGgfsIpcCommand CLOSE
public static final GridGgfsIpcCommand READ_BLOCK
public static final GridGgfsIpcCommand WRITE_BLOCK
public static final GridGgfsIpcCommand CONTROL_RESPONSE
public static GridGgfsIpcCommand[] values()
for (GridGgfsIpcCommand c : GridGgfsIpcCommand.values()) System.out.println(c);
public static GridGgfsIpcCommand 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 GridGgfsIpcCommand valueOf(int ordinal)
ordinal - Command ordinal.Copyright © 2014. All rights reserved.