redis源代码查看笔记(备忘)
来源:互联网 发布:e.target js 兼容 编辑:程序博客网 时间:2024/05/07 11:18
1 redis连接池,java客户端实现使用的是apache commons-pool;
2 当达到最大连接数使用的策略:
1)WHEN_EXHAUSTED_BLOCK(默认策略)(A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), theborrowObject
method should block until a new object is available, or themaximum wait time
has been reached.)
2)WHEN_EXHAUSTED_FAIL(A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), theborrowObject
method should fail, throwing aNoSuchElementException
.)
3)WHEN_EXHAUSTED_GROW(A "when exhausted action" type indicating that when the pool is exhausted (i.e., the maximum number of active objects has been reached), theborrowObject
method should simply create a new object anyway.)
- redis源代码查看笔记(备忘)
- redis系统命令源代码剖析笔记(3)
- redis备忘
- Redis备忘
- MFC(笔记备忘)
- 分析redis 数据脚本(备忘)
- Dialplan 中。。(笔记/备忘)
- Win32 环境变量(笔记备忘)
- linux备忘笔记(一)
- 【unity-lua】笔记(备忘)
- 个人小笔记(备忘)
- gcc 学习笔记(备忘)
- makefile 学习笔记(备忘)
- gdb学习笔记(备忘)
- 线程笔记4(备忘)
- String笔记5(备忘)
- JavaScript学习笔记(备忘)
- 源代码查看
- MapReduce的自制Writable分组输出及组内排序
- 9款极具创意的HTML5/CSS3进度条动画(免积分下载)
- 关于位运算加法对于负数也成立的我的理解
- 谁动了孩子的“心理健康”
- 探索 ConcurrentHashMap 高并发性的实现机制
- redis源代码查看笔记(备忘)
- wxPython--基础组件-文本框样例
- poj3080 Children of the Candy Corn
- hdu4539(状态压缩)
- 没谈过恋爱的孩子长不大
- erlang 中文手册——list
- 数据结构(C)---分治法求最大值最小值
- leetcode: Combination Sum
- Eclipse多工程协同管理实践