memcache在applicationContext.xml中的配置
来源:互联网 发布:将json对象遍历成数组 编辑:程序博客网 时间:2024/05/29 08:26
<bean id="memcachedPool" class="com.whalin.MemCached.SockIOPool"
factory-method="getInstance" init-method="initialize" destroy-method="shutDown">
<constructor-arg>
<value>neeaMemcachedPool</value>
</constructor-arg>
<property name="servers">
<list>
<value>${memcache.server}</value>
</list>
</property>
<property name="initConn">
<value>20</value>
</property>
<property name="minConn">
<value>10</value>
</property>
<property name="maxConn">
<value>50</value>
</property>
<property name="maintSleep">
<value>30</value>
</property>
<property name="nagle">
<value>false</value>
</property>
<property name="socketTO">
<value>3000</value>
</property>
<!-- <property name="initConn"><value></value></property> <property name="initConn"><value></value></property> -->
</bean>
<bean id="memcachedClient" class="com.whalin.MemCached.MemCachedClient">
<constructor-arg>
<value>neeaMemcachedPool</value>
</constructor-arg>
</bean>
factory-method="getInstance" init-method="initialize" destroy-method="shutDown">
<constructor-arg>
<value>neeaMemcachedPool</value>
</constructor-arg>
<property name="servers">
<list>
<value>${memcache.server}</value>
</list>
</property>
<property name="initConn">
<value>20</value>
</property>
<property name="minConn">
<value>10</value>
</property>
<property name="maxConn">
<value>50</value>
</property>
<property name="maintSleep">
<value>30</value>
</property>
<property name="nagle">
<value>false</value>
</property>
<property name="socketTO">
<value>3000</value>
</property>
<!-- <property name="initConn"><value></value></property> <property name="initConn"><value></value></property> -->
</bean>
<bean id="memcachedClient" class="com.whalin.MemCached.MemCachedClient">
<constructor-arg>
<value>neeaMemcachedPool</value>
</constructor-arg>
</bean>
0 0
- memcache在applicationContext.xml中的配置
- spring的applicationContext.xml在web.xml中的配置详解
- applicationContext.xml 配置文件在web.xml中的配置详解
- 在spring框架中的applicationContext.xml文件配置c3p0数据源
- Spring中,applicationContext.xml 配置文件在web.xml中的配置详解
- Spring中,applicationContext.xml 配置文件在web.xml中的配置详解
- Spring中,applicationContext.xml 配置文件在web.xml中的配置详解
- spring中applicationContext.xml在web.xml中的配置路径说明
- Spring中,applicationContext.xml 配置文件在web.xml中的配置详解
- Spring的事务管理,applicationContext.xml中的配置
- Spring中的applicationContext.xml配置错误
- Spring中的applicationContext.xml配置错误2
- 在ssh项目中的applicationContext.xml中配置数据源(c3p0)(连接池)
- 在ssh项目中的applicationContext.xml中配置数据源(c3p0)(连接池)
- applicationContext.xml配置
- applicationContext.xml 配置说明
- applicationContext.xml配置分析
- struts2-applicationContext.xml配置
- iptables火墙
- 判断字符串中只含有字母和问题
- Metronic V3.1.3 Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0
- C与C++中标准输入实现方式上的一点区别
- poj1503
- memcache在applicationContext.xml中的配置
- shell获取上个月的最后一天
- Max Points on a Line
- HDU-1546 Idiomatic Phrases Game
- 无法在WEB服务器上启动调试,Web 服务器配置不正确
- Hadoop源码分析[5]-counter的使用和默认counter的含义
- Thread Interruption in Boost Thread Library
- Java IO操作
- html 可输入下拉菜单