public static enum FDBStoreTimer.Counts extends Enum<FDBStoreTimer.Counts> implements StoreTimer.Count
Count
events.Enum Constant and Description |
---|
BAD_INDEX_ENTRY
The number of times that an index entry does not point to a valid record.
|
CLOSE_CONTEXT
The number of times a record context is closed.
|
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.
|
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.
|
ONLINE_INDEX_BUILDER_RECORDS_INDEXED
The number of records indexed by
OnlineIndexer . |
ONLINE_INDEX_BUILDER_RECORDS_SCANNED
The number of records scanned by
OnlineIndexer . |
OPEN_CONTEXT
The number of times a record context is opened.
|
PLAN_COVERING_INDEX
The number of query plans that use a covering index.
|
PLAN_DISTINCT
The number of query plans that include a
RecordQueryUnorderedDistinctPlan . |
PLAN_FILTER
The number of query plans that include a
RecordQueryFilterPlan . |
PLAN_IN_PARAMETER
The number of query plans that include an
IN with parameters. |
PLAN_IN_VALUES
The number of query plans that include an
IN with literal values. |
PLAN_INDEX
The number of query plans that include an index.
|
PLAN_INTERSECTION
The number of query plans that include an
RecordQueryIntersectionPlan . |
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 a
RecordQueryUnorderedPrimaryKeyDistinctPlan . |
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 a
RecordQueryTypeFilterPlan . |
PLAN_UNION
The number of query plans that include a
RecordQueryUnionPlan . |
PLAN_UNORDERED_UNION
The number of query plans that include a
RecordQueryUnorderedUnionPlan . |
QUERY_DISCARDED
The number of records filtered out as not matching or duplicate.
|
QUERY_DISTINCT_PLAN_DUPLICATES
The number of duplicate records found by
RecordQueryUnorderedDistinctPlan . |
QUERY_DISTINCT_PLAN_UNIQUES
The number of unique records found by
RecordQueryUnorderedDistinctPlan . |
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 to
RecordQueryFilterPlan . |
QUERY_FILTER_PLAN_PASSED
The number of records passed by
RecordQueryFilterPlan . |
QUERY_INTERSECTION_PLAN_MATCHES
The number of matching records found by
RecordQueryIntersectionPlan . |
QUERY_INTERSECTION_PLAN_NONMATCHES
The number of non-matching records found by
RecordQueryIntersectionPlan . |
QUERY_PK_DISTINCT_PLAN_DUPLICATES
The number of duplicate records found by
RecordQueryUnorderedPrimaryKeyDistinctPlan . |
QUERY_PK_DISTINCT_PLAN_UNIQUES
The number of unique records found by
RecordQueryUnorderedPrimaryKeyDistinctPlan . |
QUERY_TEXT_FILTER_PLAN_GIVEN
The number of records given to a filter within a
RecordQueryTextIndexPlan |
QUERY_TEXT_FILTER_PLAN_PASSED
The number of records passed by a filter within a
RecordQueryTextIndexPlan |
QUERY_TYPE_FILTER_PLAN_GIVEN
The number of records given to
RecordQueryTypeFilterPlan . |
QUERY_TYPE_FILTER_PLAN_PASSED
The number of records passed by
RecordQueryTypeFilterPlan . |
QUERY_UNION_PLAN_DUPLICATES
The number of duplicate records found by
RecordQueryUnorderedDistinctPlan . |
QUERY_UNION_PLAN_UNIQUES
The number of unique records found by
RecordQueryUnorderedDistinctPlan . |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSize()
Get whether the count value is actually a size in bytes.
|
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final FDBStoreTimer.Counts OPEN_CONTEXT
public static final FDBStoreTimer.Counts CLOSE_CONTEXT
public static final FDBStoreTimer.Counts CREATE_RECORD_STORE
public static final FDBStoreTimer.Counts STORE_STATE_CACHE_HIT
public static final FDBStoreTimer.Counts STORE_STATE_CACHE_MISS
public static final FDBStoreTimer.Counts SAVE_RECORD_KEY
public static final FDBStoreTimer.Counts SAVE_RECORD_KEY_BYTES
public static final FDBStoreTimer.Counts SAVE_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts LOAD_SCAN_ENTRY
public static final FDBStoreTimer.Counts LOAD_KEY_VALUE
public static final FDBStoreTimer.Counts LOAD_TEXT_ENTRY
public static final FDBStoreTimer.Counts LOAD_RECORD_KEY
public static final FDBStoreTimer.Counts LOAD_RECORD_KEY_BYTES
public static final FDBStoreTimer.Counts LOAD_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts SAVE_INDEX_KEY
public static final FDBStoreTimer.Counts SAVE_INDEX_KEY_BYTES
public static final FDBStoreTimer.Counts SAVE_INDEX_VALUE_BYTES
public static final FDBStoreTimer.Counts LOAD_INDEX_KEY
public static final FDBStoreTimer.Counts LOAD_INDEX_KEY_BYTES
public static final FDBStoreTimer.Counts LOAD_INDEX_VALUE_BYTES
public static final FDBStoreTimer.Counts LOAD_STORE_STATE_KEY
public static final FDBStoreTimer.Counts LOAD_STORE_STATE_KEY_BYTES
public static final FDBStoreTimer.Counts LOAD_STORE_STATE_VALUE_BYTES
public static final FDBStoreTimer.Counts DELETE_RECORD_KEY
public static final FDBStoreTimer.Counts DELETE_RECORD_KEY_BYTES
public static final FDBStoreTimer.Counts DELETE_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts DELETE_INDEX_KEY
public static final FDBStoreTimer.Counts DELETE_INDEX_KEY_BYTES
public static final FDBStoreTimer.Counts DELETE_INDEX_VALUE_BYTES
public static final FDBStoreTimer.Counts REPLACE_RECORD_VALUE_BYTES
public static final FDBStoreTimer.Counts REVERSE_DIR_PERSISTENT_CACHE_MISS_COUNT
public static final FDBStoreTimer.Counts REVERSE_DIR_PERSISTENT_CACHE_HIT_COUNT
public static final FDBStoreTimer.Counts PLAN_COVERING_INDEX
public static final FDBStoreTimer.Counts PLAN_FILTER
RecordQueryFilterPlan
.public static final FDBStoreTimer.Counts PLAN_INDEX
public static final FDBStoreTimer.Counts PLAN_IN_PARAMETER
IN
with parameters.public static final FDBStoreTimer.Counts PLAN_IN_VALUES
IN
with literal values.public static final FDBStoreTimer.Counts PLAN_INTERSECTION
RecordQueryIntersectionPlan
.public static final FDBStoreTimer.Counts PLAN_LOAD_BY_KEYS
public static final FDBStoreTimer.Counts PLAN_SCAN
public static final FDBStoreTimer.Counts PLAN_SCORE_FOR_RANK
public static final FDBStoreTimer.Counts PLAN_TYPE_FILTER
RecordQueryTypeFilterPlan
.public static final FDBStoreTimer.Counts PLAN_UNION
RecordQueryUnionPlan
.public static final FDBStoreTimer.Counts PLAN_UNORDERED_UNION
RecordQueryUnorderedUnionPlan
.public static final FDBStoreTimer.Counts PLAN_DISTINCT
RecordQueryUnorderedDistinctPlan
.public static final FDBStoreTimer.Counts PLAN_PK_DISTINCT
RecordQueryUnorderedPrimaryKeyDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_FILTER_GIVEN
public static final FDBStoreTimer.Counts QUERY_FILTER_PASSED
public static final FDBStoreTimer.Counts QUERY_FILTER_PLAN_GIVEN
RecordQueryFilterPlan
.public static final FDBStoreTimer.Counts QUERY_FILTER_PLAN_PASSED
RecordQueryFilterPlan
.public static final FDBStoreTimer.Counts QUERY_TYPE_FILTER_PLAN_GIVEN
RecordQueryTypeFilterPlan
.public static final FDBStoreTimer.Counts QUERY_TYPE_FILTER_PLAN_PASSED
RecordQueryTypeFilterPlan
.public static final FDBStoreTimer.Counts QUERY_TEXT_FILTER_PLAN_GIVEN
RecordQueryTextIndexPlan
public static final FDBStoreTimer.Counts QUERY_TEXT_FILTER_PLAN_PASSED
RecordQueryTextIndexPlan
public static final FDBStoreTimer.Counts QUERY_DISTINCT_PLAN_DUPLICATES
RecordQueryUnorderedDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_DISTINCT_PLAN_UNIQUES
RecordQueryUnorderedDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_PK_DISTINCT_PLAN_DUPLICATES
RecordQueryUnorderedPrimaryKeyDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_PK_DISTINCT_PLAN_UNIQUES
RecordQueryUnorderedPrimaryKeyDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_INTERSECTION_PLAN_MATCHES
RecordQueryIntersectionPlan
.public static final FDBStoreTimer.Counts QUERY_INTERSECTION_PLAN_NONMATCHES
RecordQueryIntersectionPlan
.public static final FDBStoreTimer.Counts QUERY_UNION_PLAN_DUPLICATES
RecordQueryUnorderedDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_UNION_PLAN_UNIQUES
RecordQueryUnorderedDistinctPlan
.public static final FDBStoreTimer.Counts QUERY_DISCARDED
public static final FDBStoreTimer.Counts SET_READ_VERSION_TO_LAST_SEEN
public static final FDBStoreTimer.Counts ONLINE_INDEX_BUILDER_RECORDS_SCANNED
OnlineIndexer
.public static final FDBStoreTimer.Counts ONLINE_INDEX_BUILDER_RECORDS_INDEXED
OnlineIndexer
.public static final FDBStoreTimer.Counts TIME_WINDOW_LEADERBOARD_ADD_WINDOW
public static final FDBStoreTimer.Counts TIME_WINDOW_LEADERBOARD_DELETE_WINDOW
public static final FDBStoreTimer.Counts TIME_WINDOW_LEADERBOARD_OVERLAPPING_CHANGED
public static final FDBStoreTimer.Counts BAD_INDEX_ENTRY
public static FDBStoreTimer.Counts[] values()
for (FDBStoreTimer.Counts c : FDBStoreTimer.Counts.values()) System.out.println(c);
public static FDBStoreTimer.Counts 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 String title()
StoreTimer.Event
title
in interface StoreTimer.Event
public boolean isSize()
StoreTimer.Count
isSize
in interface StoreTimer.Count
true
if the count value is actually a size in bytes