Enum FDBStoreTimer.Counts
- java.lang.Object
-
- java.lang.Enum<FDBStoreTimer.Counts>
-
- com.apple.foundationdb.record.provider.foundationdb.FDBStoreTimer.Counts
-
- All Implemented Interfaces:
StoreTimer.Count
,StoreTimer.Event
,Serializable
,Comparable<FDBStoreTimer.Counts>
- Enclosing class:
- FDBStoreTimer
public static enum FDBStoreTimer.Counts extends Enum<FDBStoreTimer.Counts> implements StoreTimer.Count
StandardStoreTimer.Count
events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_INDEX_ENTRY
The number of times that an index entry does not point to a valid record.BYTES_READ
The number of bytes read.BYTES_WRITTEN
The number of bytes written, not including deletes.CLOSE_CONTEXT
The number of times a record context is closed.CLOSE_CONTEXT_OPEN_TOO_LONG
The number of times a record context is closed because it has been open for a long time.CREATE_RECORD_STORE
The number of times a record store is created in the database.DELETE_INDEX_KEY
The number of index key-value pairs deleted.DELETE_INDEX_KEY_BYTES
The size of keys for index key-value pairs deleted.DELETE_INDEX_VALUE_BYTES
The size of values for index key-value pairs deleted.DELETE_RECORD_KEY
The number of record key-value pairs deleted.DELETE_RECORD_KEY_BYTES
The size of keys for record key-value pairs deleted.DELETE_RECORD_VALUE_BYTES
The size of values for record key-value pairs deleted.DELETES
Total number of delete (clear) operations.INDEXES_NEED_REBUILDING
The number of indexes that need to be rebuilt in the record store.INVALID_KEY_LENGTH
The number of record keys with an incorrect length found byFDBRecordStore.repairRecordKeys(byte[], com.apple.foundationdb.record.ScanProperties)
.INVALID_SPLIT_SUFFIX
The number of record keys with an invalid split suffix found byFDBRecordStore.repairRecordKeys(byte[], com.apple.foundationdb.record.ScanProperties)
.LOAD_INDEX_KEY
The number of index key-value pairs loaded.LOAD_INDEX_KEY_BYTES
The size of keys for index key-value pairs loaded.LOAD_INDEX_VALUE_BYTES
The size of values for index key-value pairs loaded.LOAD_KEY_VALUE
The number of key-value pairs loaded by a range scan.LOAD_RECORD_KEY
The number of record key-value pairs loaded.LOAD_RECORD_KEY_BYTES
The size of keys for record key-value pairs loaded.LOAD_RECORD_VALUE_BYTES
The size of values for record key-value pairs loaded.LOAD_SCAN_ENTRY
The number of entries (e.g., key-value pairs or text index entries) loaded by a scan.LOAD_STORE_STATE_KEY
The number of index state key-value pairs loaded.LOAD_STORE_STATE_KEY_BYTES
The size of keys for index state key-value pairs loaded.LOAD_STORE_STATE_VALUE_BYTES
The size of values for index state key-value pairs loaded.LOAD_TEXT_ENTRY
The number of entries loaded when scanning a text index.MUTATIONS
Total number of mutation operations.ONLINE_INDEX_BUILDER_RANGES_BY_COUNT
The number ofOnlineIndexer
range scans terminated after hitting the scan limit.ONLINE_INDEX_BUILDER_RANGES_BY_SIZE
The number ofOnlineIndexer
range scans terminated after hitting the size limit.ONLINE_INDEX_BUILDER_RECORDS_INDEXED
The number of records indexed byOnlineIndexer
.ONLINE_INDEX_BUILDER_RECORDS_SCANNED
The number of records scanned byOnlineIndexer
.OPEN_CONTEXT
The number of times a record context is opened.PLAN_COMPOSED_BITMAP_INDEX
The number of query plans that include aComposedBitmapIndexQueryPlan
.PLAN_COVERING_INDEX
The number of query plans that use a covering index.PLAN_DISTINCT
The number of query plans that include aRecordQueryUnorderedDistinctPlan
.PLAN_FETCH
The number of query plans that include aRecordQueryFetchFromPartialRecordPlan
.PLAN_FILTER
The number of query plans that include aRecordQueryFilterPlan
.PLAN_IN_PARAMETER
The number of query plans that include anIN
with parameters.PLAN_IN_VALUES
The number of query plans that include anIN
with literal values.PLAN_INDEX
The number of query plans that include an index.PLAN_INTERSECTION
The number of query plans that include anRecordQueryIntersectionPlan
.PLAN_LOAD_BY_KEYS
The number of query plans that include a loading records directly by their primary keys.PLAN_PK_DISTINCT
The number of query plans that include aRecordQueryUnorderedPrimaryKeyDistinctPlan
.PLAN_SCAN
The number of query plans that include a record scan without an index.PLAN_SCORE_FOR_RANK
The number of query plans that include translating a rank range into a score range.PLAN_TYPE_FILTER
The number of query plans that include aRecordQueryTypeFilterPlan
.PLAN_UNION
The number of query plans that include aRecordQueryUnionPlan
.PLAN_UNORDERED_UNION
The number of query plans that include aRecordQueryUnorderedUnionPlan
.QUERY_DISCARDED
The number of records filtered out as not matching or duplicate.QUERY_DISTINCT_PLAN_DUPLICATES
The number of duplicate records found byRecordQueryUnorderedDistinctPlan
.QUERY_DISTINCT_PLAN_UNIQUES
The number of unique records found byRecordQueryUnorderedDistinctPlan
.QUERY_FILTER_GIVEN
The number of records given given to any filter within any plan.QUERY_FILTER_PASSED
The number of records passed by any filter within any plan.QUERY_FILTER_PLAN_GIVEN
The number of records given toRecordQueryFilterPlan
.QUERY_FILTER_PLAN_PASSED
The number of records passed byRecordQueryFilterPlan
.QUERY_INTERSECTION_PLAN_MATCHES
The number of matching records found byRecordQueryIntersectionPlan
.QUERY_INTERSECTION_PLAN_NONMATCHES
The number of non-matching records found byRecordQueryIntersectionPlan
.QUERY_PK_DISTINCT_PLAN_DUPLICATES
The number of duplicate records found byRecordQueryUnorderedPrimaryKeyDistinctPlan
.QUERY_PK_DISTINCT_PLAN_UNIQUES
The number of unique records found byRecordQueryUnorderedPrimaryKeyDistinctPlan
.QUERY_TEXT_FILTER_PLAN_GIVEN
The number of records given to a filter within aRecordQueryTextIndexPlan
QUERY_TEXT_FILTER_PLAN_PASSED
The number of records passed by a filter within aRecordQueryTextIndexPlan
QUERY_TYPE_FILTER_PLAN_GIVEN
The number of records given toRecordQueryTypeFilterPlan
.QUERY_TYPE_FILTER_PLAN_PASSED
The number of records passed byRecordQueryTypeFilterPlan
.QUERY_UNION_PLAN_DUPLICATES
The number of duplicate records found byRecordQueryUnorderedDistinctPlan
.QUERY_UNION_PLAN_UNIQUES
The number of unique records found byRecordQueryUnorderedDistinctPlan
.READS
Total number of delete (clear) operations.REPAIR_RECORD_KEY
The number of record keys repaired byFDBRecordStore.repairRecordKeys(byte[], com.apple.foundationdb.record.ScanProperties)
.REPLACE_RECORD_VALUE_BYTES
The previous size of values for record key-value pairs that are updated.REVERSE_DIR_PERSISTENT_CACHE_HIT_COUNT
The number of reverse directory cache hits.REVERSE_DIR_PERSISTENT_CACHE_MISS_COUNT
The number of reverse directory cache misses.SAVE_INDEX_KEY
The number of index key-value pairs saved.SAVE_INDEX_KEY_BYTES
The size of keys for index key-value pairs saved.SAVE_INDEX_VALUE_BYTES
The size of values for index key-value pairs saved.SAVE_RECORD_KEY
The number of record key-value pairs saved.SAVE_RECORD_KEY_BYTES
The size of keys for record key-value pairs saved.SAVE_RECORD_VALUE_BYTES
The size of values for record key-value pairs saved.SET_READ_VERSION_TO_LAST_SEEN
The number of times the read version was taken from the cache of the last seen version.STORE_STATE_CACHE_HIT
The number of times the store state cache returned a cached result.STORE_STATE_CACHE_MISS
The number of times the store state cache was unable to return a cached result.TIME_WINDOW_LEADERBOARD_ADD_WINDOW
The number of times that a leaderboard update adds a time window.TIME_WINDOW_LEADERBOARD_DELETE_WINDOW
The number of times that a leaderboard update deleted a time window.TIME_WINDOW_LEADERBOARD_OVERLAPPING_CHANGED
The number of times that a leaderboard needs to be rebuilt because a window was added after a score it should contain.WRITES
Total number of write operations.
-
Field Summary
-
Fields inherited from interface com.apple.foundationdb.record.provider.common.StoreTimer.Event
LOG_KEY_SUFFIX_CACHE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSize()
Get whether the count value is actually a size in bytes.String
logKey()
Get the key of this event for logging.String
title()
Get the title of this event for user displays.static FDBStoreTimer.Counts
valueOf(String name)
Returns the enum constant of this type with the specified name.static FDBStoreTimer.Counts[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.apple.foundationdb.record.provider.common.StoreTimer.Event
logKeyWithSuffix, name
-
-
-
-
Enum Constant Detail
-
OPEN_CONTEXT
public static final FDBStoreTimer.Counts OPEN_CONTEXT
The number of times a record context is opened.
-
CLOSE_CONTEXT
public static final FDBStoreTimer.Counts CLOSE_CONTEXT
The number of times a record context is closed.
-
CLOSE_CONTEXT_OPEN_TOO_LONG
public static final FDBStoreTimer.Counts CLOSE_CONTEXT_OPEN_TOO_LONG
The number of times a record context is closed because it has been open for a long time.
-
CREATE_RECORD_STORE
public static final FDBStoreTimer.Counts CREATE_RECORD_STORE
The number of times a record store is created in the database.
-
STORE_STATE_CACHE_HIT
public static final FDBStoreTimer.Counts STORE_STATE_CACHE_HIT
The number of times the store state cache returned a cached result.
-
STORE_STATE_CACHE_MISS
public static final FDBStoreTimer.Counts STORE_STATE_CACHE_MISS
The number of times the store state cache was unable to return a cached result.
-
SAVE_RECORD_KEY
public static final FDBStoreTimer.Counts SAVE_RECORD_KEY
The number of record key-value pairs saved.
-
SAVE_RECORD_KEY_BYTES
public static final FDBStoreTimer.Counts SAVE_RECORD_KEY_BYTES
The size of keys for record key-value pairs saved.
-
SAVE_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts SAVE_RECORD_VALUE_BYTES
The size of values for record key-value pairs saved.
-
LOAD_SCAN_ENTRY
public static final FDBStoreTimer.Counts LOAD_SCAN_ENTRY
The number of entries (e.g., key-value pairs or text index entries) loaded by a scan.
-
LOAD_KEY_VALUE
public static final FDBStoreTimer.Counts LOAD_KEY_VALUE
The number of key-value pairs loaded by a range scan.
-
LOAD_TEXT_ENTRY
public static final FDBStoreTimer.Counts LOAD_TEXT_ENTRY
The number of entries loaded when scanning a text index.
-
LOAD_RECORD_KEY
public static final FDBStoreTimer.Counts LOAD_RECORD_KEY
The number of record key-value pairs loaded.
-
LOAD_RECORD_KEY_BYTES
public static final FDBStoreTimer.Counts LOAD_RECORD_KEY_BYTES
The size of keys for record key-value pairs loaded.
-
LOAD_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts LOAD_RECORD_VALUE_BYTES
The size of values for record key-value pairs loaded.
-
SAVE_INDEX_KEY
public static final FDBStoreTimer.Counts SAVE_INDEX_KEY
The number of index key-value pairs saved.
-
SAVE_INDEX_KEY_BYTES
public static final FDBStoreTimer.Counts SAVE_INDEX_KEY_BYTES
The size of keys for index key-value pairs saved.
-
SAVE_INDEX_VALUE_BYTES
public static final FDBStoreTimer.Counts SAVE_INDEX_VALUE_BYTES
The size of values for index key-value pairs saved.
-
LOAD_INDEX_KEY
public static final FDBStoreTimer.Counts LOAD_INDEX_KEY
The number of index key-value pairs loaded.
-
LOAD_INDEX_KEY_BYTES
public static final FDBStoreTimer.Counts LOAD_INDEX_KEY_BYTES
The size of keys for index key-value pairs loaded.
-
LOAD_INDEX_VALUE_BYTES
public static final FDBStoreTimer.Counts LOAD_INDEX_VALUE_BYTES
The size of values for index key-value pairs loaded.
-
LOAD_STORE_STATE_KEY
public static final FDBStoreTimer.Counts LOAD_STORE_STATE_KEY
The number of index state key-value pairs loaded.
-
LOAD_STORE_STATE_KEY_BYTES
public static final FDBStoreTimer.Counts LOAD_STORE_STATE_KEY_BYTES
The size of keys for index state key-value pairs loaded.
-
LOAD_STORE_STATE_VALUE_BYTES
public static final FDBStoreTimer.Counts LOAD_STORE_STATE_VALUE_BYTES
The size of values for index state key-value pairs loaded.
-
DELETE_RECORD_KEY
public static final FDBStoreTimer.Counts DELETE_RECORD_KEY
The number of record key-value pairs deleted.
-
DELETE_RECORD_KEY_BYTES
public static final FDBStoreTimer.Counts DELETE_RECORD_KEY_BYTES
The size of keys for record key-value pairs deleted.
-
DELETE_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts DELETE_RECORD_VALUE_BYTES
The size of values for record key-value pairs deleted.
-
DELETE_INDEX_KEY
public static final FDBStoreTimer.Counts DELETE_INDEX_KEY
The number of index key-value pairs deleted.
-
DELETE_INDEX_KEY_BYTES
public static final FDBStoreTimer.Counts DELETE_INDEX_KEY_BYTES
The size of keys for index key-value pairs deleted.
-
DELETE_INDEX_VALUE_BYTES
public static final FDBStoreTimer.Counts DELETE_INDEX_VALUE_BYTES
The size of values for index key-value pairs deleted.
-
REPLACE_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts REPLACE_RECORD_VALUE_BYTES
The previous size of values for record key-value pairs that are updated.
-
REVERSE_DIR_PERSISTENT_CACHE_MISS_COUNT
public static final FDBStoreTimer.Counts REVERSE_DIR_PERSISTENT_CACHE_MISS_COUNT
The number of reverse directory cache misses.
-
REVERSE_DIR_PERSISTENT_CACHE_HIT_COUNT
public static final FDBStoreTimer.Counts REVERSE_DIR_PERSISTENT_CACHE_HIT_COUNT
The number of reverse directory cache hits.
-
PLAN_COVERING_INDEX
public static final FDBStoreTimer.Counts PLAN_COVERING_INDEX
The number of query plans that use a covering index.
-
PLAN_FILTER
public static final FDBStoreTimer.Counts PLAN_FILTER
The number of query plans that include aRecordQueryFilterPlan
.
-
PLAN_INDEX
public static final FDBStoreTimer.Counts PLAN_INDEX
The number of query plans that include an index.
-
PLAN_IN_PARAMETER
public static final FDBStoreTimer.Counts PLAN_IN_PARAMETER
The number of query plans that include anIN
with parameters.
-
PLAN_IN_VALUES
public static final FDBStoreTimer.Counts PLAN_IN_VALUES
The number of query plans that include anIN
with literal values.
-
PLAN_INTERSECTION
public static final FDBStoreTimer.Counts PLAN_INTERSECTION
The number of query plans that include anRecordQueryIntersectionPlan
.
-
PLAN_LOAD_BY_KEYS
public static final FDBStoreTimer.Counts PLAN_LOAD_BY_KEYS
The number of query plans that include a loading records directly by their primary keys.
-
PLAN_SCAN
public static final FDBStoreTimer.Counts PLAN_SCAN
The number of query plans that include a record scan without an index.
-
PLAN_SCORE_FOR_RANK
public static final FDBStoreTimer.Counts PLAN_SCORE_FOR_RANK
The number of query plans that include translating a rank range into a score range.
-
PLAN_TYPE_FILTER
public static final FDBStoreTimer.Counts PLAN_TYPE_FILTER
The number of query plans that include aRecordQueryTypeFilterPlan
.
-
PLAN_UNION
public static final FDBStoreTimer.Counts PLAN_UNION
The number of query plans that include aRecordQueryUnionPlan
.
-
PLAN_UNORDERED_UNION
public static final FDBStoreTimer.Counts PLAN_UNORDERED_UNION
The number of query plans that include aRecordQueryUnorderedUnionPlan
.
-
PLAN_DISTINCT
public static final FDBStoreTimer.Counts PLAN_DISTINCT
The number of query plans that include aRecordQueryUnorderedDistinctPlan
.
-
PLAN_PK_DISTINCT
public static final FDBStoreTimer.Counts PLAN_PK_DISTINCT
The number of query plans that include aRecordQueryUnorderedPrimaryKeyDistinctPlan
.
-
PLAN_FETCH
public static final FDBStoreTimer.Counts PLAN_FETCH
The number of query plans that include aRecordQueryFetchFromPartialRecordPlan
.
-
PLAN_COMPOSED_BITMAP_INDEX
public static final FDBStoreTimer.Counts PLAN_COMPOSED_BITMAP_INDEX
The number of query plans that include aComposedBitmapIndexQueryPlan
.
-
QUERY_FILTER_GIVEN
public static final FDBStoreTimer.Counts QUERY_FILTER_GIVEN
The number of records given given to any filter within any plan.
-
QUERY_FILTER_PASSED
public static final FDBStoreTimer.Counts QUERY_FILTER_PASSED
The number of records passed by any filter within any plan.
-
QUERY_FILTER_PLAN_GIVEN
public static final FDBStoreTimer.Counts QUERY_FILTER_PLAN_GIVEN
The number of records given toRecordQueryFilterPlan
.
-
QUERY_FILTER_PLAN_PASSED
public static final FDBStoreTimer.Counts QUERY_FILTER_PLAN_PASSED
The number of records passed byRecordQueryFilterPlan
.
-
QUERY_TYPE_FILTER_PLAN_GIVEN
public static final FDBStoreTimer.Counts QUERY_TYPE_FILTER_PLAN_GIVEN
The number of records given toRecordQueryTypeFilterPlan
.
-
QUERY_TYPE_FILTER_PLAN_PASSED
public static final FDBStoreTimer.Counts QUERY_TYPE_FILTER_PLAN_PASSED
The number of records passed byRecordQueryTypeFilterPlan
.
-
QUERY_TEXT_FILTER_PLAN_GIVEN
public static final FDBStoreTimer.Counts QUERY_TEXT_FILTER_PLAN_GIVEN
The number of records given to a filter within aRecordQueryTextIndexPlan
-
QUERY_TEXT_FILTER_PLAN_PASSED
public static final FDBStoreTimer.Counts QUERY_TEXT_FILTER_PLAN_PASSED
The number of records passed by a filter within aRecordQueryTextIndexPlan
-
QUERY_DISTINCT_PLAN_DUPLICATES
public static final FDBStoreTimer.Counts QUERY_DISTINCT_PLAN_DUPLICATES
The number of duplicate records found byRecordQueryUnorderedDistinctPlan
.
-
QUERY_DISTINCT_PLAN_UNIQUES
public static final FDBStoreTimer.Counts QUERY_DISTINCT_PLAN_UNIQUES
The number of unique records found byRecordQueryUnorderedDistinctPlan
.
-
QUERY_PK_DISTINCT_PLAN_DUPLICATES
public static final FDBStoreTimer.Counts QUERY_PK_DISTINCT_PLAN_DUPLICATES
The number of duplicate records found byRecordQueryUnorderedPrimaryKeyDistinctPlan
.
-
QUERY_PK_DISTINCT_PLAN_UNIQUES
public static final FDBStoreTimer.Counts QUERY_PK_DISTINCT_PLAN_UNIQUES
The number of unique records found byRecordQueryUnorderedPrimaryKeyDistinctPlan
.
-
QUERY_INTERSECTION_PLAN_MATCHES
public static final FDBStoreTimer.Counts QUERY_INTERSECTION_PLAN_MATCHES
The number of matching records found byRecordQueryIntersectionPlan
.
-
QUERY_INTERSECTION_PLAN_NONMATCHES
public static final FDBStoreTimer.Counts QUERY_INTERSECTION_PLAN_NONMATCHES
The number of non-matching records found byRecordQueryIntersectionPlan
.
-
QUERY_UNION_PLAN_DUPLICATES
public static final FDBStoreTimer.Counts QUERY_UNION_PLAN_DUPLICATES
The number of duplicate records found byRecordQueryUnorderedDistinctPlan
.
-
QUERY_UNION_PLAN_UNIQUES
public static final FDBStoreTimer.Counts QUERY_UNION_PLAN_UNIQUES
The number of unique records found byRecordQueryUnorderedDistinctPlan
.
-
QUERY_DISCARDED
public static final FDBStoreTimer.Counts QUERY_DISCARDED
The number of records filtered out as not matching or duplicate.
-
SET_READ_VERSION_TO_LAST_SEEN
public static final FDBStoreTimer.Counts SET_READ_VERSION_TO_LAST_SEEN
The number of times the read version was taken from the cache of the last seen version.
-
ONLINE_INDEX_BUILDER_RECORDS_SCANNED
public static final FDBStoreTimer.Counts ONLINE_INDEX_BUILDER_RECORDS_SCANNED
The number of records scanned byOnlineIndexer
.
-
ONLINE_INDEX_BUILDER_RECORDS_INDEXED
public static final FDBStoreTimer.Counts ONLINE_INDEX_BUILDER_RECORDS_INDEXED
The number of records indexed byOnlineIndexer
.
-
ONLINE_INDEX_BUILDER_RANGES_BY_COUNT
public static final FDBStoreTimer.Counts ONLINE_INDEX_BUILDER_RANGES_BY_COUNT
The number ofOnlineIndexer
range scans terminated after hitting the scan limit.
-
ONLINE_INDEX_BUILDER_RANGES_BY_SIZE
public static final FDBStoreTimer.Counts ONLINE_INDEX_BUILDER_RANGES_BY_SIZE
The number ofOnlineIndexer
range scans terminated after hitting the size limit.
-
TIME_WINDOW_LEADERBOARD_ADD_WINDOW
public static final FDBStoreTimer.Counts TIME_WINDOW_LEADERBOARD_ADD_WINDOW
The number of times that a leaderboard update adds a time window.
-
TIME_WINDOW_LEADERBOARD_DELETE_WINDOW
public static final FDBStoreTimer.Counts TIME_WINDOW_LEADERBOARD_DELETE_WINDOW
The number of times that a leaderboard update deleted a time window.
-
TIME_WINDOW_LEADERBOARD_OVERLAPPING_CHANGED
public static final FDBStoreTimer.Counts TIME_WINDOW_LEADERBOARD_OVERLAPPING_CHANGED
The number of times that a leaderboard needs to be rebuilt because a window was added after a score it should contain.
-
BAD_INDEX_ENTRY
public static final FDBStoreTimer.Counts BAD_INDEX_ENTRY
The number of times that an index entry does not point to a valid record.
-
REPAIR_RECORD_KEY
public static final FDBStoreTimer.Counts REPAIR_RECORD_KEY
The number of record keys repaired byFDBRecordStore.repairRecordKeys(byte[], com.apple.foundationdb.record.ScanProperties)
.
-
INVALID_SPLIT_SUFFIX
public static final FDBStoreTimer.Counts INVALID_SPLIT_SUFFIX
The number of record keys with an invalid split suffix found byFDBRecordStore.repairRecordKeys(byte[], com.apple.foundationdb.record.ScanProperties)
.
-
INVALID_KEY_LENGTH
public static final FDBStoreTimer.Counts INVALID_KEY_LENGTH
The number of record keys with an incorrect length found byFDBRecordStore.repairRecordKeys(byte[], com.apple.foundationdb.record.ScanProperties)
.
-
INDEXES_NEED_REBUILDING
public static final FDBStoreTimer.Counts INDEXES_NEED_REBUILDING
The number of indexes that need to be rebuilt in the record store.
-
BYTES_READ
public static final FDBStoreTimer.Counts BYTES_READ
The number of bytes read.
-
BYTES_WRITTEN
public static final FDBStoreTimer.Counts BYTES_WRITTEN
The number of bytes written, not including deletes.
-
READS
public static final FDBStoreTimer.Counts READS
Total number of delete (clear) operations.
-
WRITES
public static final FDBStoreTimer.Counts WRITES
Total number of write operations.
-
DELETES
public static final FDBStoreTimer.Counts DELETES
Total number of delete (clear) operations.
-
MUTATIONS
public static final FDBStoreTimer.Counts MUTATIONS
Total number of mutation operations.
-
-
Method Detail
-
values
public static FDBStoreTimer.Counts[] 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.Counts c : FDBStoreTimer.Counts.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.Counts 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 nameNullPointerException
- if the argument is null
-
title
public String title()
Description copied from interface:StoreTimer.Event
Get the title of this event for user displays.- Specified by:
title
in interfaceStoreTimer.Event
- Returns:
- the user-visible title
-
logKey
@Nonnull public String logKey()
Description copied from interface:StoreTimer.Event
Get the key of this event for logging. This should be used withKeyValueLogMessage
s 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 interfaceStoreTimer.Event
- Returns:
- the key to use for logging
-
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 interfaceStoreTimer.Count
- Returns:
true
if the count value is actually a size in bytes
-
-