Enum FDBStoreTimer.CountAggregates

    • Enum Constant Detail

      • BYTES_DELETED

        public static final FDBStoreTimer.CountAggregates BYTES_DELETED
        The number of bytes deleted. This represents the number of bytes cleared by all events instrumented by an FDBStoreTimer. Note that it is not possible (for efficiency reasons) to track all deleted bytes, specifically for many clear() operations. A range clear takes a start and end key and efficiently deletes all bytes in between at the server and, thus, the client has no visibility into the number of bytes actually deleted by the operation.
    • Method Detail

      • values

        public static FDBStoreTimer.CountAggregates[] 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 (FDBStoreTimer.CountAggregates c : FDBStoreTimer.CountAggregates.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FDBStoreTimer.CountAggregates 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
      • logKey

        @Nonnull
        public String logKey()
        Description copied from interface: StoreTimer.Event
        Get the key of this event for logging. This should be used with KeyValueLogMessages and other key-value based logging systems to log the values from instrumented events. These keys are not expected to change frequently. They may, however, change outside of any minor version change. Their values, therefore, should not be relied upon, other than for the logging purposes.
        Specified by:
        logKey in interface StoreTimer.Event
        Returns:
        the key to use for logging
      • getComponentEvents

        public Set<StoreTimer.Count> getComponentEvents()
        Description copied from interface: StoreTimer.Aggregate
        Returns the set of events that make up the aggregate. Note that theoretically an aggregate could be defined in a manner such that some events contributed to the aggregate in different fashions (for example, eventA + eventB - eventC), in which case this method would return the fact that the three events comprise the aggregate but with no indication of in which manner they contribute to its value.
        Specified by:
        getComponentEvents in interface StoreTimer.Aggregate
        Returns:
        the events that comprise the aggregate
      • isSize

        public boolean isSize()
        Description copied from interface: StoreTimer.Count
        Get whether the count value is actually a size in bytes.
        Specified by:
        isSize in interface StoreTimer.Count
        Returns:
        true if the count value is actually a size in bytes