登录
首页 » 数据结构 » connection/object pool. A program may require a IMAP connection po ol and LDAP c...

connection/object pool. A program may require a IMAP connection po ol and LDAP c...

于 2023-05-15 发布 文件大小:170.19 kB
0 212
下载积分: 2 下载次数: 1

代码说明:

Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.-connection/object pool. A program may require a IMAP connection po ol and LDAP connection pool. One could easily im plemen

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • FastDB
    fastdb-241源码,俄国人开发实时数据库系统!-fastdb-241 source, the Russians to develop real-time database system!
    2022-05-07 04:46:40下载
    积分:1
  • vc源代码 11.1编程测试顺序容器矢量(vector)的主要功能和使用方法...
    vc源代码 11.1编程测试顺序容器矢量(vector)的主要功能和使用方法 -11.1 programming source code vc test vector sequence containers (vector) of the main functions and use
    2023-08-13 15:15:03下载
    积分:1
  • 这是一个基于COM的库访问技术,采用 OLE_DB来封装,高速访问各种库接口, 比ADO ODBC_API速度更快,效率更高。强烈 推荐
    这是一个基于COM的数据库访问技术,采用 OLE_DB来封装,高速访问各种数据库接口, 比ADO ODBC_API速度更快,效率更高。强烈 推荐- This based on the COM database visit technology, uses OLE_DB to seal, high speed visits each kind of database interface, compared to ADO ODBC_API speed quicker, the efficiency is higher. Intensely recommends
    2022-01-25 18:07:58下载
    积分:1
  • 题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到字时直接将其送至输出队列中; 2、当读到...
    题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中; 2、当读到运算符时,将栈中所有优先级高于或等于该运算符弹出,送至输出队列中,再将当前运算符入栈; 3、当读入左括号时,即入栈; 4、当读到右括号时,将靠近栈顶的第一个左括号上面的运算符全部一次弹出,送至输出队列中,再删除栈中的左括号。 5、使用VS栈来存储读入的操作和运算结果,然后进行数字字符到数值的转换。 -Title: Design of a topic, presentation operator priority method with arithmetic expression evaluation process. Summary of design 1, the order of scanning arithmetic infix expressions, when they read numbers directly to the output queue 2, when they read operator, it will stack all priority higher than or equal to the operator pop-up , sent to the output queue, and then the current operator入栈 3, when read left brackets, that is, when入栈 4, when they read the right brackets, it will be near the Top-left of the first operator in brackets above All a pop-up, sent to the output queue, and then delete stacks of left brackets. 5, the use of VS stack to store read operation and computing the results of numeric characters and then proceed to the numerical co
    2022-03-18 20:45:34下载
    积分:1
  • 这是一个用PB和SQL SERVER做的课程设计,模拟完成了,银行的开户,销户,存款,取款等功能....
    这是一个用PB和SQL SERVER做的课程设计,模拟完成了,银行的开户,销户,存款,取款等功能.-with PB and SQL SERVER do curriculum design, simulation completed, the bank accounts, and marketing of households, deposits, withdrawals and other functions.
    2022-07-11 05:45:42下载
    积分:1
  • matlab 贝叶斯分类
    分类器是对每一个输入模式赋予一个类别名称的软件或硬件装置,而贝叶斯分类器是各种分类器中分类错误概率最小或者在预先给定代价的情况下平均风险最小的分类器。它的设计方法是一种最基本的统计分类方法
    2022-07-06 14:33:58下载
    积分:1
  • tree data structure source code
    树的数据结构源代码-tree data structure source code
    2022-04-24 00:57:22下载
    积分:1
  • vfp信息管理系统模版
    vfp信息管理系统模版-Probe Information Management System template
    2022-01-21 00:01:50下载
    积分:1
  • 堆栈的基本功能实现,组方式实现
    堆栈的基本功能实现,数组方式实现-stack to achieve the basic functions, arrays means
    2022-01-21 05:06:54下载
    积分:1
  • 飞溅是一个C++类库,实现了许多Perl建和大…
    SPLASH is a c++ class library that implements many of the Perl constructs and data types, including extensive regex regular expression pattern matching. For those not familiar with Perl, it is an excellent scripting language by Larry Wall and is available for most platforms. This Class library provides List, String, Regular Expression, and text manipulation handling capabilities based on those provided in Perl
    2022-01-26 04:27:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载