Enum LuceneEvents.Events

java.lang.Object
java.lang.Enum<LuceneEvents.Events>
com.apple.foundationdb.record.lucene.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.
  • Enum Constant Details

    • LUCENE_READ_BLOCK

      public static final LuceneEvents.Events LUCENE_READ_BLOCK
      Time to read a block from Lucene's FDBDirectory.
    • LUCENE_READ_SCHEMA

      public static final LuceneEvents.Events LUCENE_READ_SCHEMA
      Time to read a schema from Lucene's FDBDirectory.
    • LUCENE_READ_STORED_FIELDS

      public static final LuceneEvents.Events LUCENE_READ_STORED_FIELDS
      Time to read stored fields from Lucene's FDBDirectory.
    • LUCENE_FDB_READ_BLOCK

      public static final LuceneEvents.Events LUCENE_FDB_READ_BLOCK
      Time to read a lucene block from FBB loader.
    • LUCENE_LIST_ALL

      public static final LuceneEvents.Events LUCENE_LIST_ALL
      Time to list all files from Lucene's FDBDirectory.
    • LUCENE_LOAD_FILE_CACHE

      public static final LuceneEvents.Events LUCENE_LOAD_FILE_CACHE
      Time to load the file cache for Lucene's FDBDirectory.
    • LUCENE_GET_FILE_LENGTH

      public static final LuceneEvents.Events LUCENE_GET_FILE_LENGTH
      Number of file length calls in the FDBDirectory.
    • LUCENE_INDEX_SCAN

      public static final LuceneEvents.Events LUCENE_INDEX_SCAN
      Number of documents returned from a single Lucene Index Scan.
    • LUCENE_AUTO_COMPLETE_SUGGESTIONS_SCAN

      public static final LuceneEvents.Events LUCENE_AUTO_COMPLETE_SUGGESTIONS_SCAN
      Number of suggestions returned from a single Lucene Auto Complete Scan.
    • LUCENE_SPELLCHECK_SCAN

      public static final LuceneEvents.Events LUCENE_SPELLCHECK_SCAN
      Number of documents returned from a single Lucene spellcheck scan.
    • LUCENE_ADD_DOCUMENT

      public static final LuceneEvents.Events LUCENE_ADD_DOCUMENT
      Number of times new document is added.
    • LUCENE_DELETE_DOCUMENT_BY_QUERY

      public static final LuceneEvents.Events LUCENE_DELETE_DOCUMENT_BY_QUERY
      Number of times query is needed for document delete.
    • LUCENE_DELETE_DOCUMENT_BY_QUERY_IN_WRITE_ONLY_MODE

      public static final LuceneEvents.Events 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

      public static final LuceneEvents.Events LUCENE_DELETE_DOCUMENT_BY_PRIMARY_KEY
      Number of times primary key index used for document delete.
    • LUCENE_MERGE

      public static final LuceneEvents.Events LUCENE_MERGE
      Number of merge calls to the FDBDirectory.
    • LUCENE_FIND_MERGES

      public static final LuceneEvents.Events LUCENE_FIND_MERGES
      Number of find merge calls (calculation of lucene's required merges).
    • LUCENE_REBALANCE_PARTITION_TRANSACTION

      public static final LuceneEvents.Events LUCENE_REBALANCE_PARTITION_TRANSACTION
      Amount of time spent in a transaction doing partition rebalancing.
    • LUCENE_REBALANCE_PARTITION

      public static final LuceneEvents.Events LUCENE_REBALANCE_PARTITION
      Amount of time spent moving documents during partition rebalancing.
    • LUCENE_FILE_LOCK_DURATION

      public static final LuceneEvents.Events LUCENE_FILE_LOCK_DURATION
      The duration of which the file lock was taken, in nanoseconds.
  • Method Details

    • values

      public static LuceneEvents.Events[] 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

      public static LuceneEvents.Events 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
    • title

      public String title()
      Specified by:
      title in interface StoreTimer.Event
    • logKey

      @Nonnull public String logKey()
      Specified by:
      logKey in interface StoreTimer.Event