您的位置:首页 > 数据库 > Memcache

memcached.properties

2016-06-03 10:27 447 查看
#any string identifier
org.mybatis.caches.memcached.keyprefix=_mybatis_
#space separated list of ${host}:${port}
org.mybatis.caches.memcached.servers=101.201.152.172:11211
#Any class that implementsnet.spy.memcached.ConnectionFactory
org.mybatis.caches.memcached.connectionfactory=net.spy.memcached.DefaultConnectionFactory
#the number of seconds in 30 days	the expiration time (in seconds)
org.mybatis.caches.memcached.expiration=30
#flag to enable/disable the async get
org.mybatis.caches.memcached.asyncget=false
#the timeout when using async get
org.mybatis.caches.memcached.timeout=5
#the timeout unit when using async get
org.mybatis.caches.memcached.timeoutunit=java.util.concurrent.TimeUnit.SECONDS
#if true, objects will be GZIP compressed before putting them to Memcached
org.mybatis.caches.memcached.compression=false
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: