Enum LuceneEvents.Events
- All Implemented Interfaces:
StoreTimer.Event
,Serializable
,Comparable<LuceneEvents.Events>
,java.lang.constant.Constable
- Enclosing class:
- LuceneEvents
public static enum LuceneEvents.Events
extends Enum<LuceneEvents.Events>
implements StoreTimer.Event
Main events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNumber of times new document is added.Number of suggestions returned from a single Lucene Auto Complete Scan.Number of times primary key index used for document delete.Number of times query is needed for document delete.Number of times query is needed for document delete in WriteOnly mode.Time to read a lucene block from FBB loader.The duration of which the file lock was taken, in nanoseconds.Number of find merge calls (calculation of lucene's required merges).Number of file length calls in the FDBDirectory.Number of documents returned from a single Lucene Index Scan.Time to list all files from Lucene's FDBDirectory.Time to load the file cache for Lucene's FDBDirectory.Number of merge calls to the FDBDirectory.Time to read a block from Lucene's FDBDirectory.Time to read a schema from Lucene's FDBDirectory.Time to read stored fields from Lucene's FDBDirectory.Amount of time spent moving documents during partition rebalancing.Amount of time spent in a transaction doing partition rebalancing.Number of documents returned from a single Lucene spellcheck scan. -
Field Summary
Fields inherited from interface com.apple.foundationdb.record.provider.common.StoreTimer.Event
LOG_KEY_SUFFIX_CACHE
-
Method Summary
Modifier and TypeMethodDescriptionlogKey()
title()
static LuceneEvents.Events
Returns the enum constant of this type with the specified name.static LuceneEvents.Events[]
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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.apple.foundationdb.record.provider.common.StoreTimer.Event
isDelayedUntilCommit, logKeyWithSuffix, name
-
Enum Constant Details
-
LUCENE_READ_BLOCK
Time to read a block from Lucene's FDBDirectory. -
LUCENE_READ_SCHEMA
Time to read a schema from Lucene's FDBDirectory. -
LUCENE_READ_STORED_FIELDS
Time to read stored fields from Lucene's FDBDirectory. -
LUCENE_FDB_READ_BLOCK
Time to read a lucene block from FBB loader. -
LUCENE_LIST_ALL
Time to list all files from Lucene's FDBDirectory. -
LUCENE_LOAD_FILE_CACHE
Time to load the file cache for Lucene's FDBDirectory. -
LUCENE_GET_FILE_LENGTH
Number of file length calls in the FDBDirectory. -
LUCENE_INDEX_SCAN
Number of documents returned from a single Lucene Index Scan. -
LUCENE_AUTO_COMPLETE_SUGGESTIONS_SCAN
Number of suggestions returned from a single Lucene Auto Complete Scan. -
LUCENE_SPELLCHECK_SCAN
Number of documents returned from a single Lucene spellcheck scan. -
LUCENE_ADD_DOCUMENT
Number of times new document is added. -
LUCENE_DELETE_DOCUMENT_BY_QUERY
Number of times query is needed for document delete. -
LUCENE_DELETE_DOCUMENT_BY_QUERY_IN_WRITE_ONLY_MODE
Number of times query is needed for document delete in WriteOnly mode. -
LUCENE_DELETE_DOCUMENT_BY_PRIMARY_KEY
Number of times primary key index used for document delete. -
LUCENE_MERGE
Number of merge calls to the FDBDirectory. -
LUCENE_FIND_MERGES
Number of find merge calls (calculation of lucene's required merges). -
LUCENE_REBALANCE_PARTITION_TRANSACTION
Amount of time spent in a transaction doing partition rebalancing. -
LUCENE_REBALANCE_PARTITION
Amount of time spent moving documents during partition rebalancing. -
LUCENE_FILE_LOCK_DURATION
The duration of which the file lock was taken, in nanoseconds.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Specified by:
title
in interfaceStoreTimer.Event
-
logKey
- Specified by:
logKey
in interfaceStoreTimer.Event
-