use object pools 使用对象池
Object pools are used to restrict the number of instances of a certain class.
使用对象池限制特定类的实例的数量。
Apart from implementation details, object pools generally have the interface illustrated in Listing 1.
如果不考虑实现细节,对象池一般采用清单1所示的接口。
To tune performance when using concurrent message delivery, we must turn our attention to a number of object pools managed by the application server.
为了在使用并发消息传递时优化性能,我们必须将注意力转向应用程序服务器托管的许多对象池。
应用推荐