Enum LuceneEvents.Counts

java.lang.Object
java.lang.Enum<LuceneEvents.Counts>
com.apple.foundationdb.record.lucene.LuceneEvents.Counts
All Implemented Interfaces:
StoreTimer.Count, StoreTimer.Event, Serializable, Comparable<LuceneEvents.Counts>, java.lang.constant.Constable
Enclosing class:
LuceneEvents

public static enum LuceneEvents.Counts extends Enum<LuceneEvents.Counts> implements StoreTimer.Count
Count events.
  • Enum Constant Details

    • LUCENE_GET_INCREMENT_CALLS

      public static final LuceneEvents.Counts LUCENE_GET_INCREMENT_CALLS
      Number of times the getIncrement() function is called in the FDBDirectory.
    • LUCENE_BLOCK_READS

      public static final LuceneEvents.Counts LUCENE_BLOCK_READS
      The number of block reads that occur against the FDBDirectory.
    • LUCENE_SCAN_MATCHED_DOCUMENTS

      public static final LuceneEvents.Counts LUCENE_SCAN_MATCHED_DOCUMENTS
      Matched documents returned from lucene index reader scans.
    • LUCENE_SCAN_MATCHED_AUTO_COMPLETE_SUGGESTIONS

      public static final LuceneEvents.Counts LUCENE_SCAN_MATCHED_AUTO_COMPLETE_SUGGESTIONS
      Matched auto complete suggestions returned from lucene auto complete suggestion lookup.
    • LUCENE_SCAN_SPELLCHECKER_SUGGESTIONS

      public static final LuceneEvents.Counts LUCENE_SCAN_SPELLCHECKER_SUGGESTIONS
      Matched spellchecker suggestions returned from lucene spellchecker suggestion lookup.
    • LUCENE_SHARED_CACHE_HITS

      public static final LuceneEvents.Counts LUCENE_SHARED_CACHE_HITS
      Block to read came from shared cache.
    • LUCENE_SHARED_CACHE_MISSES

      public static final LuceneEvents.Counts LUCENE_SHARED_CACHE_MISSES
      Block to read came not in shared cache.
    • PLAN_HIGHLIGHT_TERMS

      public static final LuceneEvents.Counts PLAN_HIGHLIGHT_TERMS
      Plan contains highlight operator.
    • LUCENE_DELETE_FILE

      public static final LuceneEvents.Counts LUCENE_DELETE_FILE
      Number of file delete operations on the FDBDirectory.
    • LUCENE_RENAME_FILE

      public static final LuceneEvents.Counts LUCENE_RENAME_FILE
      Number of rename file operations on the FDBDirectory.
    • LUCENE_MERGE_DOCUMENTS

      public static final LuceneEvents.Counts LUCENE_MERGE_DOCUMENTS
      Number of documents merged.
    • LUCENE_MERGE_SEGMENTS

      public static final LuceneEvents.Counts LUCENE_MERGE_SEGMENTS
      Number of segments merged.
    • LUCENE_DELETE_STORED_FIELDS

      public static final LuceneEvents.Counts LUCENE_DELETE_STORED_FIELDS
      Number of Delete Stored Fields operations on the FDBDirectory.
    • LUCENE_AGILE_COMMITS_SIZE_QUOTA

      public static final LuceneEvents.Counts LUCENE_AGILE_COMMITS_SIZE_QUOTA
      Number of agile context commits after exceeding size quota.
    • LUCENE_AGILE_COMMITS_TIME_QUOTA

      public static final LuceneEvents.Counts LUCENE_AGILE_COMMITS_TIME_QUOTA
      Number of agile context commits after exceeding time quota.
    • LUCENE_REPARTITION_CALLS

      public static final LuceneEvents.Counts LUCENE_REPARTITION_CALLS
      Count of times a rebalance was called.
    • LUCENE_BLOCK_CACHE_REMOVE

      public static final LuceneEvents.Counts LUCENE_BLOCK_CACHE_REMOVE
      Count of the number of times a block was removed from the block cache.
  • Method Details

    • values

      public static LuceneEvents.Counts[] 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.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 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
    • isDelayedUntilCommit

      public boolean isDelayedUntilCommit()
      Specified by:
      isDelayedUntilCommit in interface StoreTimer.Event
    • isSize

      public boolean isSize()
      Specified by:
      isSize in interface StoreTimer.Count