public static enum FDBStoreTimer.Events extends Enum<FDBStoreTimer.Events> implements StoreTimer.Event
Enum Constant and Description |
---|
BATCH_GET_READ_VERSION
The amount of time taken to get a read version for batch priority transactions.
|
CHECK_INDEX_UNIQUENESS
The amount of time spent checking an index for duplicate entries to preserve uniqueness.
|
CHECK_VERSION
The amount of time in the
checkVersion call. |
COMMIT
The amount of time taken committing transactions successfully.
|
COMMIT_FAILURE
The amount of time taken committing transactions that did not succeed.
|
COMMIT_READ_ONLY
The amount of time taken committing transactions that did not actually have any writes.
|
COMPUTE_BOUNDARY_KEYS
The amount of time spent computing boundary keys.
|
DELETE_INDEX_ENTRY
The amount of time spent deleting an entry from a secondary index.
|
DELETE_RECORD
The amount of time taken deleting records.
|
DIRECTORY_READ
The amount of time spent reading an entry from a directory layer.
|
EXTENDED_DIRECTORY_LAYER_CREATE
The amount of time spent adding a new entry to an
ExtendedDirectoryLayer . |
EXTENDED_DIRECTORY_LAYER_READ
The amount of time spent reading an entry from an
ExtendedDirectoryLayer . |
GET_META_DATA_CACHE_ENTRY
The amount of time taken getting cached meta-data from a
MetaDataCache . |
GET_META_DATA_CACHE_VERSION
The amount of time taken getting the current version from a
MetaDataCache . |
GET_READ_VERSION
The amount of time taken to get a read version when explicitly called.
|
INJECTED_COMMIT_LATENCY
The amount of time injected into committing transactions.
|
INJECTED_GET_READ_VERSION_LATENCY
The amount of time injected by the client prior to getting a read version.
|
INTERNING_LAYER_CREATE
The amount of time spent adding a new entry to a
ScopedInterningLayer . |
INTERNING_LAYER_READ
The amount of time spent reading an entry from a
ScopedInterningLayer . |
LOAD_BOUNDARY_KEYS
The amount of time spent loading boundary keys.
|
LOAD_META_DATA
The amount of time taken loading meta-data from a
FDBMetaDataStore . |
LOAD_RECORD
The amount of time taken loading records.
|
LOAD_RECORD_STORE_INDEX_META_DATA
The amount of time taken loading a record store's index meta-data.
|
LOAD_RECORD_STORE_INFO
The amount of time taken loading a record store's
DataStoreInfo header. |
LOAD_RECORD_STORE_STATE
The amount of time taken loading a record store's
RecordStoreState listing store-specific information. |
LOAD_RECORD_VERSION
The amount of time taken loading record versions.
|
MUTATE_INDEX_ENTRY
The amount of time spent updating an entry in an atomic mutation index.
|
PERFORM_NO_OP
The amount of time taken performing a no-op.
|
PLAN_QUERY
The amount of time spent planning a query.
|
QUERY_DISTINCT
The amount of time spent in
RecordQueryUnorderedDistinctPlan as part of executing a query. |
QUERY_FILTER
The amount of time spent in
RecordQueryFilterPlan as part of executing a query. |
QUERY_INTERSECTION
The amount of time spent in
RecordQueryIntersectionPlan as part of executing a query. |
QUERY_PK_DISTINCT
The amount of time spent in
RecordQueryUnorderedPrimaryKeyDistinctPlan as part of executing a query. |
QUERY_TEXT_FILTER
The amount of time spent filtering by text contents in
RecordQueryTextIndexPlan as part of executing a query. |
QUERY_TYPE_FILTER
The amount of time spent in
RecordQueryTypeFilterPlan as part of executing a query. |
QUERY_UNION
The amount of time spent in
RecordQueryUnionPlan as part of executing a query. |
READ_SAMPLE_KEY
The amount of time spent reading a sample key to measure read latency.
|
REBUILD_INDEX
The amount of time spent deleting an entry from a secondary index.
|
RECOUNT_RECORDS
The amount of time spent counting records for the deprecated record count key.
|
REMOVE_FORMER_INDEX
The amount of time spent clearing the space taken by an index that has been removed from the meta-data.
|
SAVE_INDEX_ENTRY
The amount of time spent saving an entry to a secondary index.
|
SAVE_META_DATA
The amount of time taken persisting meta-data to a
FDBMetaDataStore . |
SAVE_RECORD
The amount of time taken saving records.
|
SCAN_INDEX_KEYS
The amount of time taken scanning the entries of an index.
|
SCAN_RECORDS
The amount of time taken scanning records directly without any index.
|
SCOPED_DIRECTORY_LAYER_CREATE
The amount of time spent adding a new entry to a
ScopedDirectoryLayer . |
SCOPED_DIRECTORY_LAYER_READ
The amount of time spent reading an entry from a
ScopedDirectoryLayer . |
SKIP_INDEX_ENTRY
The amount of time spent maintaining an index when an entry is skipped by the
IndexMaintenanceFilter . |
SKIP_INDEX_RECORD
The amount of time spent maintaining an index when the entire record is skipped by the
IndexMaintenanceFilter . |
TIME_WINDOW_LEADERBOARD_GET_DIRECTORY
The amount of time spent in
TimeWindowLeaderboardDirectoryOperation . |
TIME_WINDOW_LEADERBOARD_GET_SUB_DIRECTORY
The amount of time spent in
TimeWindowLeaderboardSubDirectoryOperation . |
TIME_WINDOW_LEADERBOARD_SAVE_SUB_DIRECTORY
The amount of time spent in
TimeWindowLeaderboardSaveSubDirectory . |
TIME_WINDOW_LEADERBOARD_TRIM_SCORES
The amount of time spent in
TimeWindowLeaderboardScoreTrim . |
TIME_WINDOW_LEADERBOARD_UPDATE_DIRECTORY
The amount of time spent in
TimeWindowLeaderboardWindowUpdate . |
Modifier and Type | Method and Description |
---|---|
String |
logKey()
Get the key of this event for logging.
|
String |
title()
Get the title of this event for user displays.
|
static FDBStoreTimer.Events |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FDBStoreTimer.Events[] |
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.Events PERFORM_NO_OP
public static final FDBStoreTimer.Events GET_READ_VERSION
public static final FDBStoreTimer.Events BATCH_GET_READ_VERSION
GET_READ_VERSION
(which is recorded on non-batch
priority transactions) because the performance of batch priority read reversion requests are
is requested to be significantly different than the performance of non-batch priority
requests. This is because the read version request is the primary mechanism by which the
FoundationDB cluster can introduce back pressure, and the cluster will favor higher priority
transactions over lower priority transactions.
Like GET_READ_VERSION
, this includes any latency injected by the client
before issuing the request.
public static final FDBStoreTimer.Events INJECTED_GET_READ_VERSION_LATENCY
public static final FDBStoreTimer.Events COMMIT
INJECTED_COMMIT_LATENCY
public static final FDBStoreTimer.Events INJECTED_COMMIT_LATENCY
public static final FDBStoreTimer.Events COMMIT_READ_ONLY
public static final FDBStoreTimer.Events COMMIT_FAILURE
public static final FDBStoreTimer.Events SAVE_META_DATA
FDBMetaDataStore
.public static final FDBStoreTimer.Events LOAD_META_DATA
FDBMetaDataStore
.public static final FDBStoreTimer.Events LOAD_RECORD_STORE_STATE
RecordStoreState
listing store-specific information.public static final FDBStoreTimer.Events LOAD_RECORD_STORE_INFO
DataStoreInfo
header.public static final FDBStoreTimer.Events LOAD_RECORD_STORE_INDEX_META_DATA
public static final FDBStoreTimer.Events GET_META_DATA_CACHE_VERSION
MetaDataCache
.public static final FDBStoreTimer.Events GET_META_DATA_CACHE_ENTRY
MetaDataCache
.public static final FDBStoreTimer.Events SAVE_RECORD
public static final FDBStoreTimer.Events LOAD_RECORD
public static final FDBStoreTimer.Events LOAD_RECORD_VERSION
public static final FDBStoreTimer.Events SCAN_RECORDS
public static final FDBStoreTimer.Events SCAN_INDEX_KEYS
LOAD_RECORD
for each record pointed to by an index entry.public static final FDBStoreTimer.Events DELETE_RECORD
public static final FDBStoreTimer.Events SKIP_INDEX_RECORD
IndexMaintenanceFilter
.public static final FDBStoreTimer.Events SKIP_INDEX_ENTRY
IndexMaintenanceFilter
.public static final FDBStoreTimer.Events SAVE_INDEX_ENTRY
public static final FDBStoreTimer.Events DELETE_INDEX_ENTRY
public static final FDBStoreTimer.Events MUTATE_INDEX_ENTRY
public static final FDBStoreTimer.Events REBUILD_INDEX
public static final FDBStoreTimer.Events REMOVE_FORMER_INDEX
public static final FDBStoreTimer.Events RECOUNT_RECORDS
public static final FDBStoreTimer.Events CHECK_INDEX_UNIQUENESS
public static final FDBStoreTimer.Events CHECK_VERSION
checkVersion
call.
This may include time to rebuild indexes if the record store is small enough.public static final FDBStoreTimer.Events DIRECTORY_READ
public static final FDBStoreTimer.Events SCOPED_DIRECTORY_LAYER_READ
ScopedDirectoryLayer
.public static final FDBStoreTimer.Events SCOPED_DIRECTORY_LAYER_CREATE
ScopedDirectoryLayer
.public static final FDBStoreTimer.Events EXTENDED_DIRECTORY_LAYER_READ
ExtendedDirectoryLayer
.public static final FDBStoreTimer.Events EXTENDED_DIRECTORY_LAYER_CREATE
ExtendedDirectoryLayer
.public static final FDBStoreTimer.Events INTERNING_LAYER_READ
ScopedInterningLayer
.public static final FDBStoreTimer.Events INTERNING_LAYER_CREATE
ScopedInterningLayer
.public static final FDBStoreTimer.Events LOAD_BOUNDARY_KEYS
public static final FDBStoreTimer.Events COMPUTE_BOUNDARY_KEYS
public static final FDBStoreTimer.Events READ_SAMPLE_KEY
public static final FDBStoreTimer.Events PLAN_QUERY
public static final FDBStoreTimer.Events QUERY_FILTER
RecordQueryFilterPlan
as part of executing a query.public static final FDBStoreTimer.Events QUERY_TYPE_FILTER
RecordQueryTypeFilterPlan
as part of executing a query.public static final FDBStoreTimer.Events QUERY_TEXT_FILTER
RecordQueryTextIndexPlan
as part of executing a query.public static final FDBStoreTimer.Events QUERY_INTERSECTION
RecordQueryIntersectionPlan
as part of executing a query.public static final FDBStoreTimer.Events QUERY_UNION
RecordQueryUnionPlan
as part of executing a query.public static final FDBStoreTimer.Events QUERY_DISTINCT
RecordQueryUnorderedDistinctPlan
as part of executing a query.public static final FDBStoreTimer.Events QUERY_PK_DISTINCT
RecordQueryUnorderedPrimaryKeyDistinctPlan
as part of executing a query.public static final FDBStoreTimer.Events TIME_WINDOW_LEADERBOARD_GET_DIRECTORY
TimeWindowLeaderboardDirectoryOperation
.public static final FDBStoreTimer.Events TIME_WINDOW_LEADERBOARD_UPDATE_DIRECTORY
TimeWindowLeaderboardWindowUpdate
.public static final FDBStoreTimer.Events TIME_WINDOW_LEADERBOARD_TRIM_SCORES
TimeWindowLeaderboardScoreTrim
.public static final FDBStoreTimer.Events TIME_WINDOW_LEADERBOARD_GET_SUB_DIRECTORY
TimeWindowLeaderboardSubDirectoryOperation
.public static final FDBStoreTimer.Events TIME_WINDOW_LEADERBOARD_SAVE_SUB_DIRECTORY
TimeWindowLeaderboardSaveSubDirectory
.public static FDBStoreTimer.Events[] values()
for (FDBStoreTimer.Events c : FDBStoreTimer.Events.values()) System.out.println(c);
public static FDBStoreTimer.Events 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
@Nonnull public String logKey()
StoreTimer.Event
KeyValueLogMessage
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.logKey
in interface StoreTimer.Event