Enum Class EventType

java.lang.Object
java.lang.Enum<EventType>
org.cojen.tupl.diag.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, Constable

public enum EventType extends Enum<EventType>
Defines the various types of events that an EventListener can receive.
  • Enum Constant Details

    • DEBUG

      public static final EventType DEBUG
      General debug event type.
    • CACHE_INIT_BEGIN

      public static final EventType CACHE_INIT_BEGIN
      Signals the beginning of cache initialization.
    • CACHE_INIT_COMPLETE

      public static final EventType CACHE_INIT_COMPLETE
      Signals the end of cache initialization, reporting the duration.
    • RECOVERY_BEGIN

      public static final EventType RECOVERY_BEGIN
      Signals the beginning of database recovery.
    • RECOVERY_CACHE_PRIMING

      public static final EventType RECOVERY_CACHE_PRIMING
      Signals that automatic cache priming is being performed.
    • RECOVERY_PROGRESS

      public static final EventType RECOVERY_PROGRESS
      Generic recovery progress message.
    • RECOVERY_LOAD_UNDO_LOGS

      public static final EventType RECOVERY_LOAD_UNDO_LOGS
      Signals that undo logs of in-flight transactions are being loaded.
    • RECOVERY_APPLY_REDO_LOG

      public static final EventType RECOVERY_APPLY_REDO_LOG
      Signals that non-checkpointed transactions are being committed or rolled back.
    • RECOVERY_REDO_LOG_CORRUPTION

      public static final EventType RECOVERY_REDO_LOG_CORRUPTION
      Signals that some redo operations were not recovered due to log file corruption.
    • RECOVERY_PROCESS_REMAINING

      public static final EventType RECOVERY_PROCESS_REMAINING
      Signals that transactions not explicitly committed or rolled back are being processed.
    • RECOVERY_AWAIT_RELEASE

      public static final EventType RECOVERY_AWAIT_RELEASE
      Signals that a prepared transaction held by the leader hasn't been released yet.
    • RECOVERY_NO_HANDLER

      public static final EventType RECOVERY_NO_HANDLER
      Prepared transactions remain, but no handler is installed.
    • RECOVERY_HANDLER_UNCAUGHT

      public static final EventType RECOVERY_HANDLER_UNCAUGHT
      An uncaught exception from a recovery handler.
    • RECOVERY_COMPLETE

      public static final EventType RECOVERY_COMPLETE
      Signals the end of database recovery, reporting the duration.
    • DELETION_BEGIN

      public static final EventType DELETION_BEGIN
      Signals that deletion of an index has begun.
    • DELETION_FAILED

      public static final EventType DELETION_FAILED
      Signals that deletion of an index has failed.
    • DELETION_COMPLETE

      public static final EventType DELETION_COMPLETE
      Signals that deletion of an index has completed.
    • REPLICATION_RESTORE

      public static final EventType REPLICATION_RESTORE
      Snapshot restore progress event.
    • REPLICATION_DEBUG

      public static final EventType REPLICATION_DEBUG
      Generic debug message from the replication system.
    • REPLICATION_INFO

      public static final EventType REPLICATION_INFO
      Generic info message from the replication system.
    • REPLICATION_WARNING

      public static final EventType REPLICATION_WARNING
      Generic warning message from the replication system.
    • REPLICATION_PANIC

      public static final EventType REPLICATION_PANIC
      Unhandled in the replication system, and the database must be shutdown.
    • TABLE_INDEX_INFO

      public static final EventType TABLE_INDEX_INFO
      Information regarding a task on a secondary index or alternate key.
    • TABLE_INDEX_ERROR

      public static final EventType TABLE_INDEX_ERROR
      Error regarding a task on a secondary index or alternate key.
    • TABLE_COMPLEX_FILTER

      public static final EventType TABLE_COMPLEX_FILTER
      Warning which indicates that a filtered row scan might be suboptimal.
    • CHECKPOINT_BEGIN

      public static final EventType CHECKPOINT_BEGIN
      Signals the beginning of a checkpoint.
    • CHECKPOINT_FLUSH

      public static final EventType CHECKPOINT_FLUSH
      Signals the checkpoint phase which flushes all dirty nodes to the main database file.
    • CHECKPOINT_SYNC

      public static final EventType CHECKPOINT_SYNC
      Signals the checkpoint phase which forcibly persists changes to the main database file.
    • CHECKPOINT_FAILED

      public static final EventType CHECKPOINT_FAILED
      Signals that checkpoint task failed with an exception.
    • CHECKPOINT_COMPLETE

      public static final EventType CHECKPOINT_COMPLETE
      Signals the end of a checkpoint, reporting the duration.
    • SHUTDOWN_CLEAN

      public static final EventType SHUTDOWN_CLEAN
      See Also:
    • PANIC_UNHANDLED_EXCEPTION

      public static final EventType PANIC_UNHANDLED_EXCEPTION
      Signals that an unhandled exception has occurred, and the database must be shutdown.
  • Field Details

  • Method Details

    • values

      public static EventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null