Enum LuceneEvents.Waits

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

public static enum LuceneEvents.Waits extends Enum<LuceneEvents.Waits> implements StoreTimer.Wait
Wait events.
  • Enum Constant Details

    • WAIT_LUCENE_DELETE_FILE

      public static final LuceneEvents.Waits WAIT_LUCENE_DELETE_FILE
      Wait to delete a file from Lucene's FDBDirectory.
    • WAIT_LUCENE_FILE_LENGTH

      public static final LuceneEvents.Waits WAIT_LUCENE_FILE_LENGTH
      Wait to get the length of the a file in Lucene's FDBDirectory.
    • WAIT_LUCENE_RENAME

      public static final LuceneEvents.Waits WAIT_LUCENE_RENAME
      Wait to rename a file in Lucene's FDBDirectory.
    • WAIT_LUCENE_GET_INCREMENT

      public static final LuceneEvents.Waits WAIT_LUCENE_GET_INCREMENT
      Wait to get a new file counter increment.
    • WAIT_LUCENE_GET_FILE_REFERENCE

      public static final LuceneEvents.Waits WAIT_LUCENE_GET_FILE_REFERENCE
      Wait to read a file reference.
    • WAIT_LUCENE_GET_SCHEMA

      public static final LuceneEvents.Waits WAIT_LUCENE_GET_SCHEMA
      Wait to read schema.
    • WAIT_LUCENE_GET_ALL_STORED_FIELDS

      public static final LuceneEvents.Waits WAIT_LUCENE_GET_ALL_STORED_FIELDS
      Wait to read all stored fields for a segment.
    • WAIT_LUCENE_GET_STORED_FIELDS

      public static final LuceneEvents.Waits WAIT_LUCENE_GET_STORED_FIELDS
      Wait to read stored fields.
    • WAIT_LUCENE_GET_DATA_BLOCK

      public static final LuceneEvents.Waits WAIT_LUCENE_GET_DATA_BLOCK
      Wait to read a data block.
    • WAIT_LUCENE_LOAD_FILE_CACHE

      public static final LuceneEvents.Waits WAIT_LUCENE_LOAD_FILE_CACHE
      Wait for lucene to load the file cache.
    • WAIT_LUCENE_CREATE_OUTPUT

      public static final LuceneEvents.Waits WAIT_LUCENE_CREATE_OUTPUT
      Create a file from FDBDirectory.
    • WAIT_LUCENE_FIND_PRIMARY_KEY

      public static final LuceneEvents.Waits WAIT_LUCENE_FIND_PRIMARY_KEY
      Look up primary key segment.
    • WAIT_LUCENE_READ_FIELD_INFOS

      public static final LuceneEvents.Waits WAIT_LUCENE_READ_FIELD_INFOS
      Read the field infos data.
    • WAIT_LUCENE_FILE_LOCK_SET

      public static final LuceneEvents.Waits WAIT_LUCENE_FILE_LOCK_SET
      Set a file lock.
    • WAIT_LUCENE_FILE_LOCK_GET

      public static final LuceneEvents.Waits WAIT_LUCENE_FILE_LOCK_GET
      Get a file lock.
    • WAIT_LUCENE_FILE_LOCK_CLEAR

      public static final LuceneEvents.Waits WAIT_LUCENE_FILE_LOCK_CLEAR
      Clear a file lock.
  • Method Details

    • values

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