MagicCacheWatcher class

CrumbsWatcher for Magic's cache facade.

Subscribes to the five cache events magic's Cache facade dispatches (CacheHit, CacheMiss, CachePut, CacheForget, CacheFlush) and feeds CrumbsStore.recordCache, identical to MagicModelWatcher.

Constructors

MagicCacheWatcher()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Human-readable watcher name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

install() → void
Wire the watcher's listening hook (event subscription, override, etc.).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
uninstall() → void
Tear down the hook (test isolation).

Operators

operator ==(Object other) → bool
The equality operator.
inherited