Enum Class InternalEvent

java.lang.Object
java.lang.Enum<InternalEvent>
io.higson.runtime.diagnostic.InternalEvent
All Implemented Interfaces:
Serializable, Comparable<InternalEvent>, Constable

public enum InternalEvent extends Enum<InternalEvent>
Internal events recognized by HigsonFlightRecorder. The recording should be limited to infrequent or exceptional events like ppcache miss but not like ppcache hit.
  • Enum Constant Details

    • PPCACHE_MISS

      public static final InternalEvent PPCACHE_MISS
      Engine evaluates parameter but it is not yet cached in the prepared parameter cache. Accompanying data: parameter name
    • INDEX_CREATED

      public static final InternalEvent INDEX_CREATED
      Engine builds a new level index. No accompanying data.
    • INDEX_REUSED

      public static final InternalEvent INDEX_REUSED
      Engine reuses an existing level index. No accompanying data.
    • HOTSWAP

      public static final InternalEvent HOTSWAP
      Parameter was hot-swapped. Accompanying data: parameter name
    • EVICTION_ENTER

      public static final InternalEvent EVICTION_ENTER
      Start of an eviction cycle triggerred by the refresh watcher. No accompanying data.
    • EVICTION_EXPIRED

      public static final InternalEvent EVICTION_EXPIRED
      Parameter is detected as expired (auto refresh period). Accompanying data: parameter name
    • EXT_FINGERPRINT_FETCHED

      public static final InternalEvent EXT_FINGERPRINT_FETCHED
      Fingerprint for external source parameter was retrieved from database. Accompanying data: parameter name
    • EXT_FINGERPRINT_THESAME

      public static final InternalEvent EXT_FINGERPRINT_THESAME
      Fingerprint fetched during eviction cycle is the same as before. Accompanying data: parameter name
    • EXT_FINGERPRINT_CHANGED

      public static final InternalEvent EXT_FINGERPRINT_CHANGED
      Fingerprint fetched during eviction cycle is different. Accompanying data: parameter name
    • PYTHON_INTERPRETER_CREATED

      public static final InternalEvent PYTHON_INTERPRETER_CREATED
      Python JEP Interpreter was instatiated. No accompanying data.
    • PYTHON_INTERPRETER_CLOSED

      public static final InternalEvent PYTHON_INTERPRETER_CLOSED
      Python JEP Interpreter was disposed, memory was freed. No accompanying data.
  • Method Details

    • values

      public static InternalEvent[] 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 InternalEvent 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
    • code

      public String code()