对象池Object pool
基本思路:
1. 继承PoolableObjectFactory的工厂类,用来“制造”相应的Object
2. 创建一个ObjectPool
用borrowObject和returnObject来进行对象“归还”和“借用”
posted on 2014-01-20 18:30 starfuxks 阅读(162) 评论(0) 收藏 举报