Method: IdentityCache::QueryAPI#expire_cache

Defined in:
lib/identity_cache/query_api.rb

#expire_cacheObject

Invalidate the cache data associated with the record. Returns ‘true` on success, `false` otherwise.



186
187
188
189
190
191
# File 'lib/identity_cache/query_api.rb', line 186

def expire_cache
  expired_parent_caches = expire_parent_caches
  expired_attribute_indexes = expire_attribute_indexes

  expired_parent_caches && expired_attribute_indexes
end