Enum GhfsStatistic

    • Enum Constant Detail

      • ACTION_HTTP_HEAD_REQUEST

        public static final GhfsStatistic ACTION_HTTP_HEAD_REQUEST
        HTTP request counters
      • ACTION_HTTP_GET_REQUEST

        public static final GhfsStatistic ACTION_HTTP_GET_REQUEST
      • ACTION_HTTP_PUT_REQUEST

        public static final GhfsStatistic ACTION_HTTP_PUT_REQUEST
      • ACTION_HTTP_PATCH_REQUEST

        public static final GhfsStatistic ACTION_HTTP_PATCH_REQUEST
      • ACTION_HTTP_POST_REQUEST

        public static final GhfsStatistic ACTION_HTTP_POST_REQUEST
      • ACTION_HTTP_DELETE_REQUEST

        public static final GhfsStatistic ACTION_HTTP_DELETE_REQUEST
      • ACTION_HTTP_HEAD_REQUEST_FAILURE

        public static final GhfsStatistic ACTION_HTTP_HEAD_REQUEST_FAILURE
      • ACTION_HTTP_GET_REQUEST_FAILURE

        public static final GhfsStatistic ACTION_HTTP_GET_REQUEST_FAILURE
      • ACTION_HTTP_PUT_REQUEST_FAILURE

        public static final GhfsStatistic ACTION_HTTP_PUT_REQUEST_FAILURE
      • ACTION_HTTP_PATCH_REQUEST_FAILURE

        public static final GhfsStatistic ACTION_HTTP_PATCH_REQUEST_FAILURE
      • ACTION_HTTP_POST_REQUEST_FAILURE

        public static final GhfsStatistic ACTION_HTTP_POST_REQUEST_FAILURE
      • ACTION_HTTP_DELETE_REQUEST_FAILURE

        public static final GhfsStatistic ACTION_HTTP_DELETE_REQUEST_FAILURE
      • DIRECTORIES_CREATED

        public static final GhfsStatistic DIRECTORIES_CREATED
        FileSystem-level statistics
      • DIRECTORIES_DELETED

        public static final GhfsStatistic DIRECTORIES_DELETED
      • FILES_DELETE_REJECTED

        public static final GhfsStatistic FILES_DELETE_REJECTED
      • INVOCATION_COPY_FROM_LOCAL_FILE

        public static final GhfsStatistic INVOCATION_COPY_FROM_LOCAL_FILE
      • INVOCATION_CREATE

        public static final GhfsStatistic INVOCATION_CREATE
      • INVOCATION_CREATE_NON_RECURSIVE

        public static final GhfsStatistic INVOCATION_CREATE_NON_RECURSIVE
      • INVOCATION_DELETE

        public static final GhfsStatistic INVOCATION_DELETE
      • INVOCATION_EXISTS

        public static final GhfsStatistic INVOCATION_EXISTS
      • INVOCATION_GET_DELEGATION_TOKEN

        public static final GhfsStatistic INVOCATION_GET_DELEGATION_TOKEN
      • INVOCATION_GET_FILE_CHECKSUM

        public static final GhfsStatistic INVOCATION_GET_FILE_CHECKSUM
      • INVOCATION_GET_FILE_STATUS

        public static final GhfsStatistic INVOCATION_GET_FILE_STATUS
      • INVOCATION_GLOB_STATUS

        public static final GhfsStatistic INVOCATION_GLOB_STATUS
      • INVOCATION_HFLUSH

        public static final GhfsStatistic INVOCATION_HFLUSH
      • INVOCATION_HSYNC

        public static final GhfsStatistic INVOCATION_HSYNC
      • INVOCATION_LIST_FILES

        public static final GhfsStatistic INVOCATION_LIST_FILES
      • INVOCATION_LIST_STATUS

        public static final GhfsStatistic INVOCATION_LIST_STATUS
      • INVOCATION_MKDIRS

        public static final GhfsStatistic INVOCATION_MKDIRS
      • INVOCATION_OPEN

        public static final GhfsStatistic INVOCATION_OPEN
      • INVOCATION_RENAME

        public static final GhfsStatistic INVOCATION_RENAME
      • INVOCATION_LIST_LOCATED_STATUS

        public static final GhfsStatistic INVOCATION_LIST_LOCATED_STATUS
      • STREAM_READ_BYTES

        public static final GhfsStatistic STREAM_READ_BYTES
        Stream reads
      • STREAM_READ_CLOSE_OPERATIONS

        public static final GhfsStatistic STREAM_READ_CLOSE_OPERATIONS
      • STREAM_READ_EXCEPTIONS

        public static final GhfsStatistic STREAM_READ_EXCEPTIONS
      • STREAM_READ_OPERATIONS

        public static final GhfsStatistic STREAM_READ_OPERATIONS
      • STREAM_READ_OPERATIONS_INCOMPLETE

        public static final GhfsStatistic STREAM_READ_OPERATIONS_INCOMPLETE
      • STREAM_READ_SEEK_BACKWARD_OPERATIONS

        public static final GhfsStatistic STREAM_READ_SEEK_BACKWARD_OPERATIONS
      • STREAM_READ_SEEK_BYTES_BACKWARDS

        public static final GhfsStatistic STREAM_READ_SEEK_BYTES_BACKWARDS
      • STREAM_READ_SEEK_BYTES_SKIPPED

        public static final GhfsStatistic STREAM_READ_SEEK_BYTES_SKIPPED
      • STREAM_READ_SEEK_FORWARD_OPERATIONS

        public static final GhfsStatistic STREAM_READ_SEEK_FORWARD_OPERATIONS
      • STREAM_READ_SEEK_OPERATIONS

        public static final GhfsStatistic STREAM_READ_SEEK_OPERATIONS
      • STREAM_READ_TOTAL_BYTES

        public static final GhfsStatistic STREAM_READ_TOTAL_BYTES
      • STREAM_WRITE_EXCEPTIONS

        public static final GhfsStatistic STREAM_WRITE_EXCEPTIONS
        Stream writes
      • STREAM_WRITE_BYTES

        public static final GhfsStatistic STREAM_WRITE_BYTES
      • STREAM_WRITE_CLOSE_OPERATIONS

        public static final GhfsStatistic STREAM_WRITE_CLOSE_OPERATIONS
      • STREAM_WRITE_OPERATIONS

        public static final GhfsStatistic STREAM_WRITE_OPERATIONS
      • INVOCATION_XATTR_GET_MAP

        public static final GhfsStatistic INVOCATION_XATTR_GET_MAP
        The XAttr API statistics
      • INVOCATION_XATTR_GET_NAMED

        public static final GhfsStatistic INVOCATION_XATTR_GET_NAMED
      • INVOCATION_XATTR_GET_NAMED_MAP

        public static final GhfsStatistic INVOCATION_XATTR_GET_NAMED_MAP
      • INVOCATION_OP_XATTR_LIST

        public static final GhfsStatistic INVOCATION_OP_XATTR_LIST
      • DELEGATION_TOKENS_ISSUED

        public static final GhfsStatistic DELEGATION_TOKENS_ISSUED
        Delegation token operations
    • Field Detail

      • VALUES

        public static final com.google.common.collect.ImmutableSet<GhfsStatistic> VALUES
    • Method Detail

      • values

        public static GhfsStatistic[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GhfsStatistic c : GhfsStatistic.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GhfsStatistic valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getSymbol

        public String getSymbol()
        the name of the statistic
      • fromSymbol

        public static GhfsStatistic fromSymbol​(String symbol)
        Get a statistic from a symbol.
        Parameters:
        symbol - statistic to look up
        Returns:
        the value or null.
      • getDescription

        public String getDescription()
        The description of the Statistic
      • toString

        public String toString()
        The string value is simply the symbol. This makes this operation very low cost.
        Overrides:
        toString in class Enum<GhfsStatistic>
        Returns:
        the symbol of this statistic.