Package io.higson.runtime.diagnostic
Enum Class InternalEvent
- All Implemented Interfaces:
Serializable,Comparable<InternalEvent>,Constable
Internal events recognized by HigsonFlightRecorder.
The recording should be limited to infrequent or exceptional events like ppcache miss but not like ppcache hit.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStart of an eviction cycle triggerred by the refresh watcher.Parameter is detected as expired (auto refresh period).Fingerprint fetched during eviction cycle is different.Fingerprint for external source parameter was retrieved from database.Fingerprint fetched during eviction cycle is the same as before.Parameter was hot-swapped.Engine builds a new level index.Engine reuses an existing level index.Engine evaluates parameter but it is not yet cached in the prepared parameter cache.Python JEP Interpreter was disposed, memory was freed.Python JEP Interpreter was instatiated. -
Method Summary
Modifier and TypeMethodDescriptioncode()static InternalEventReturns the enum constant of this class with the specified name.static InternalEvent[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PPCACHE_MISS
Engine evaluates parameter but it is not yet cached in the prepared parameter cache. Accompanying data: parameter name -
INDEX_CREATED
Engine builds a new level index. No accompanying data. -
INDEX_REUSED
Engine reuses an existing level index. No accompanying data. -
HOTSWAP
Parameter was hot-swapped. Accompanying data: parameter name -
EVICTION_ENTER
Start of an eviction cycle triggerred by the refresh watcher. No accompanying data. -
EVICTION_EXPIRED
Parameter is detected as expired (auto refresh period). Accompanying data: parameter name -
EXT_FINGERPRINT_FETCHED
Fingerprint for external source parameter was retrieved from database. Accompanying data: parameter name -
EXT_FINGERPRINT_THESAME
Fingerprint fetched during eviction cycle is the same as before. Accompanying data: parameter name -
EXT_FINGERPRINT_CHANGED
Fingerprint fetched during eviction cycle is different. Accompanying data: parameter name -
PYTHON_INTERPRETER_CREATED
Python JEP Interpreter was instatiated. No accompanying data. -
PYTHON_INTERPRETER_CLOSED
Python JEP Interpreter was disposed, memory was freed. No accompanying data.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
code
-