You are here

memcache.services.yml in Memcache API and Integration 8.2

File

memcache.services.yml
View source
  1. services:
  2. memcache.settings:
  3. class: Drupal\memcache\MemcacheSettings
  4. arguments: ['@settings']
  5. memcache.factory:
  6. class: Drupal\memcache\Driver\MemcacheDriverFactory
  7. arguments: ['@memcache.settings']
  8. memcache.timestamp.invalidator.bin:
  9. class: Drupal\memcache\Invalidator\MemcacheTimestampInvalidator
  10. # Override this service and adjust tolerance if necessary.
  11. arguments: ['@memcache.factory', 'memcache_bin_timestamps', 0.001]
  12. cache.backend.memcache:
  13. class: Drupal\memcache\MemcacheBackendFactory
  14. arguments: ['@memcache.factory', '@cache_tags.invalidator.checksum', '@memcache.timestamp.invalidator.bin']
  15. memcache.lock.factory:
  16. class: Drupal\memcache\Lock\MemcacheLockFactory
  17. arguments: ['@memcache.factory']