登录
首页 » 数据结构 » 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 201
下载积分: 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 个回复

  • 循环链表
    声明结构 体,该结构体包含一个值,和一个指向下一个结点的指针next,初始化时头结点指针指向自身,每增加一个节点,使加入的结点的next指针指向头结点,使t头结点的next指针指向插入结点。 源代码 在vs2012 运行通过,界面使用菜单进行操作选择,友好方便,值得参考
    2022-06-11 17:01:47下载
    积分:1
  • 2022-04-28 07:23:49下载
    积分:1
  • 里面有很多有用的公式,很有利于算法的学习,希望与大家一起分享...
    里面有很多有用的公式,很有利于算法的学习,希望与大家一起分享-There are many useful formula for the learning algorithm
    2022-03-18 22:28:21下载
    积分:1
  • Bubble sort to sort a simple 10 figures, according to smallest order
    气泡排序,一个简单的排序10个数字,按从大到小排列-Bubble sort to sort a simple 10 figures, according to smallest order
    2023-03-24 13:15:04下载
    积分:1
  • wce4.0,database,
    wce4.0,database,- wce4.0,database
    2023-04-05 13:20:04下载
    积分:1
  • 哈夫曼树
    在 C + + 包括节点和整个数据结构和 haffcode 执行完整的哈夫曼树
    2022-02-28 09:21:02下载
    积分:1
  • 这个是关于荒岛野人的算法实现,有什么问题请留言
    这个是关于荒岛野人的算法实现,有什么问题请留言-the savage wasteland of the algorithm to achieve and what problems they please leave
    2022-03-13 02:46:18下载
    积分:1
  • 一个简单的库管理工具,可以管理Oracle等
    一个简单的数据库管理工具,可以管理Oracle等- A simple data bank administration tool, may manage Oracle and so on
    2022-07-10 00:04:34下载
    积分:1
  • delphi 制作的电梯程序
    资源描述delphi 制作的电梯程序,智能控制上下人数,停留层完全按照实际操作来,设计结构精细,适合练手.组件简单
    2022-02-05 21:09:29下载
    积分:1
  • data structure is the basis for programming, which in this case is I wrote the e...
    数据结构是编程的基础,本例是本人写的八个基本数据结构的实现方法,用C语言编写,在VC中调试成功,并带有少量的注释,有兴趣的可以研究一下。我在里面尽量使用了指针-data structure is the basis for programming, which in this case is I wrote the eight basic data structure of the method, using C language, in VC debugging success, and with a small amount of the Notes may be interested in the study. I try to make full use of a guideline
    2022-02-01 17:18:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载