LuckyInvalidationMonitor class final
实验性(可能调整):仅在 debug 诊断 config 变化引起的频繁缓存失效。
Constructors
- LuckyInvalidationMonitor(String game, {DateTime now()?})
-
实验性(可能调整):标记玩法
game;now默认取系统时间,可注入测试时钟。
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordInvalidation(
) → void - 实验性(可能调整):记录一次因 config 不相等引起的缓存失效,无返回值。
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
debugOnWarning
↔ ValueChanged<
String> ? -
实验性(可能调整):debug 告警后接收同一中文文本;null 表示不接收。
getter/setter pair