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所示的接口。
Run time: performance degradation (even when using object pools), both in response time and CPU consumption, is evident with complex nested objects.
运行时:在响应时间和CPU的消耗两者上性能的下降(即使当使用对象池时),明显有着复杂嵌套对象。
To tune performance when using concurrent message delivery, we must turn our attention to a number of object pools managed by the application server.
为了在使用并发消息传递时优化性能,我们必须将注意力转向应用程序服务器托管的许多对象池。
WebSphere Application Server also supports the general concept of object pools, with each pool consisting of a pool manager providing access to pools for different class types.
WebSphereApplicationServer还支持对象池的常规概念,每个对象池均具有池管理器,从而为不同类类型提供对象池访问。
This enables accessor factory implementations to store the accessor factories in object pools to achieve better performance (due to less initialization overhead and less garbage collection).
这就允许访问器工厂实现将访问器工厂存储在对象池中,以实现更好的性能(因为初始化开销更少,垃圾回收工作也更少)。
Click the expand icon to the left of the MBLOG option to show the different object types in the database (Buffer Pools, Groups, and so on).
单击MBLOG选项左边的展开按钮显示数据库中的不同对象类型(BufferPools和Groups等等)。
Object caching and pooling: the application server automatically pools stateless session beans at the server level, reducing the amount of time spent in object creation and garbage collection.
对象高速缓存和合用:应用程序服务器自动在服务器级合用无状态会话bean,这减少了花在对象创建和垃圾收集上的时间。
Object caching and pooling: the application server automatically pools stateless session beans at the server level, reducing the amount of time spent in object creation and garbage collection.
对象高速缓存和合用:应用程序服务器自动在服务器级合用无状态会话bean,这减少了花在对象创建和垃圾收集上的时间。
应用推荐