Module: SafeMemoize::HooksMethods Private

Included in:
InstanceMethods
Defined in:
lib/safe_memoize/hooks_methods.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

NOTIFICATION_EVENT_NAMES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  on_hit: "cache_hit.safe_memoize",
  on_miss: "cache_miss.safe_memoize",
  on_evict: "cache_evict.safe_memoize",
  on_expire: "cache_expire.safe_memoize",
  on_store: "cache_store.safe_memoize"
}.freeze