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 pool applications program
上傳時間: 2013-12-25
上傳用戶:playboys0
Linux 虛擬網絡接口 實例 In the Linux (or Unix) world, most network interfaces, such as eth0 and ppp0, are associated with a physical device that is in charge of transmitting and receiving data packets. However, some logical network interfaces don t feature any physical packet transmission. The most well-known examples of these "virtual" interfaces are the shaper and eql interfaces.
標簽: Linux interfaces network world
上傳時間: 2014-01-11
上傳用戶:zhangzhenyu
光通訊 -DWDM Transmission Technology and Photonic Layer Network
標簽: Transmission Technology Photonic Network
上傳時間: 2014-02-27
上傳用戶:685
BLT is a library of extensions to the Tk library. It adds new commands and variables to the application s interpreter.
標簽: library extensions the variables
上傳時間: 2014-01-06
上傳用戶:維子哥哥
D:\Documents and Settings\yu\My Documents\數控技術\斐克破解\crackD:\Documents and Settings\yu\My Documents\數控技術\斐克破解\crack
標簽: Documents SettingsyuMy and crackD
上傳時間: 2014-12-01
上傳用戶:chongcongying
usb and mp3 drivers 都是些公開源碼,
上傳時間: 2013-12-16
上傳用戶:firstbyte
is about the 51 and the LCD
上傳時間: 2013-12-22
上傳用戶:sunjet
SoundMixer example application is compatible with Series 60 Developer Platform v1.0 and v2.0. It has been tested to work with the Nokia N-Gage and Nokia 6600 phone model.
標簽: application SoundMixer compatible Developer
上傳時間: 2015-06-27
上傳用戶:lijinchuan
Edge Detection Basis of Theory and Practice by CAS –Computer Vision Course 2ndlesson Veronique PRINET
標簽: Detection 2ndlesson Veronique Computer
上傳時間: 2015-06-27
上傳用戶:ardager
Edge Detection Basis of Theory and Practice CAS –Computer Vision Course 3rdlesson Veronique PRINET
標簽: Detection 3rdlesson Veronique Computer
上傳時間: 2013-12-12
上傳用戶:ccclll