FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

cbMemcached

v1.0.1+11 Public
# Memcached Cachebox Provider A Cachebox provider module for Memcached ## LICENSE Apache License, Version 2.0. ## Configuration The module is configured like any other CacheBox provider cache. An example CacheBox configuration would be: ``` cacheBox.caches[ "myMemcachedCache" ] = { provider = "cbMemcached.models.MemcachedColdboxProvider", properties = { //The maximum number of threads to allow maxThreads = 10 //The unit of time measurement for timeouts ,defaultTimeoutUnit = "MINUTES" //The cache object timeout - set in the distributed cache settings ,objectDefaultTimeout = 30 //The queue wait timeout, in ms, allowed for the pool to receive a new connection - when this is reached, aggressive pool management begins ,opQueueMaxBlockTime = 5000 // The allowable operation timeout ,opTimeout = 5000 // The timeout in milliseconds to begin exception handling ,timeoutExceptionThreshold = 5000 //Whether to ignore or throw an error when a timeout connecting to the memcached server is reached ,ignoreMemcachedTimeouts = true ,bucket = "default" // A single host (string) or an array of hosts ,servers = "localhost:11211" // This can be an array // If a username and password is provided in the runtime properties it will be automatically used for the Redis connection ,username = "" ,password = "" // Whether to maintain case for the cache keys ( e.g. - i18n keys might need case sensitivity ) ,caseSensitiveKeys = true // Whether to update the stats for the individual cache items - unless the metadata of the keys is being introspected, set it to false ,updateStats = true // Whether to log debug statements and timers to stdout ,debug = false } } ```

Dependencies (1)


Dev Dependencies (0)


CHANGELOG ========= ## 1.0.0 * Initial Module Release

 

$ box install cbmemcached

   
  • Oct 01 2016 10:29 PM
  • Oct 02 2016 11:57 AM
  • 960
  • 2,463
  • 1