memcached.properties

来源:互联网 发布:java 流量统计代码 编辑:程序博客网 时间:2024/06/05 07:21
#any string identifierorg.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.ConnectionFactoryorg.mybatis.caches.memcached.connectionfactory=net.spy.memcached.DefaultConnectionFactory#the number of seconds in 30 daysthe expiration time (in seconds)org.mybatis.caches.memcached.expiration=30#flag to enable/disable the async getorg.mybatis.caches.memcached.asyncget=false#the timeout when using async getorg.mybatis.caches.memcached.timeout=5#the timeout unit when using async getorg.mybatis.caches.memcached.timeoutunit=java.util.concurrent.TimeUnit.SECONDS#if true, objects will be GZIP compressed before putting them to Memcachedorg.mybatis.caches.memcached.compression=false

0 0