BoxLang 🚀 A New JVM Dynamic Language Learn More...

cbMemcached

v1.0.1+11 Modules
# 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 } } ```
CHANGELOG ========= ## 1.0.0 * Initial Module Release

$ box install cbmemcached

   
  • {{ getFullDate("2016-10-01T22:29:12Z") }}
  • {{ getFullDate("2016-10-02T11:57:51Z") }}
  • 2,253
  • 4,739