Hermes
0.9.5-beta
Hierarchical Distributed I/O Buffering System
|
#include <iostream>
Go to the source code of this file.
Classes | |
class | api::Status |
Namespaces | |
hermes | |
Macros | |
#define | RETURN_CODES(X) |
#define | RETURN_ENUM(ID, NAME, TEXT) NAME = ID, |
#define | RETURN_TEXT(ID, NAME, TEXT) |
Enumerations | |
enum | hermes::StatusCode { HERMES_OK_MAX = 2 , BLOB_IN_SWAP_PLACE = 1 , HERMES_SUCCESS = 0 , INVALID_BUCKET = -1 , BUCKET_NAME_TOO_LONG = -2 , VBUCKET_NAME_TOO_LONG = -3 , BLOB_NAME_TOO_LONG = -4 , INVALID_BLOB = -5 , BLOB_NOT_IN_BUCKET = -6 , BLOB_NOT_LINKED_TO_VBUCKET = -7 , TRAIT_NOT_VALID = -8 , TRAIT_EXISTS_ALREADY = -9 , OFFSET_MAP_EMPTY = -10 , BLOB_NOT_LINKED_IN_MAP = -11 , BUCKET_IN_USE = -12 , DPE_RANDOM_FOUND_NO_TGT = -13 , DPE_GET_INVALID_TGT = -14 , DPE_ORTOOLS_NO_SOLUTION = -15 , DPE_PLACEMENTSCHEMA_EMPTY = -16 , READ_BLOB_FAILED = -17 , STDIO_OFFSET_ERROR = -18 , STDIO_FWRITE_FAILED = -19 , STDIO_FOPEN_FAILED = -20 , STDIO_FCLOSE_FAILED = -21 , INVALID_FILE = -23 , PLACE_SWAP_BLOB_TO_BUF_FAILED = -24 , DPE_RR_FIND_TGT_FAILED = -25 , HERMES_ERROR_MAX = -26 } |
Variables | |
return Unknown | error |
StatusCode | status_ |
#define RETURN_CODES | ( | X | ) |
a macro for returning error code
#define RETURN_ENUM | ( | ID, | |
NAME, | |||
TEXT | |||
) | NAME = ID, |
a macro for returning enum
#define RETURN_TEXT | ( | ID, | |
NAME, | |||
TEXT | |||
) |
a macro for returning text
return Unknown error |
status is unknown
|
private |
StatusCode state variable