• 对象这个问题一种解决方案

    Object pooling is one solution to this problem.

    youdao

  • 使用对象限制特定实例数量

    Object pools are used to restrict the number of instances of a certain class.

    youdao

  • 对象基本模式如下所示。

    The basic pattern for object pooling looks something like this.

    youdao

  • 最小队列深度显示了度量对象

    The minimum queue depth shows how shallow the measurement object pool got.

    youdao

  • 定义了一个管理给定大小对象

    This defines a pool of objects of a given size to manage.

    youdao

  • 我们考虑一个可以有效使用对象方案

    Let's consider a scenario in which object pooling would be useful.

    youdao

  • 范围用于使用对象对象

    The none scope is used for objects that are not pooled.

    youdao

  • 对象就是一个很好的例子

    Object pooling is a good example.

    youdao

  • 资源管理会使用容器提供对象管理系统资源

    The resource manager USES the object pool provided by the container to manage system resources.

    youdao

  • 缓存对象技术可以减少临时对象创建

    Caching and pooling can be helpful techniques to reduce temporary object creation.

    youdao

  • 如果不考虑实现细节对象一般采用清单1接口

    Apart from implementation details, object pools generally have the interface illustrated in Listing 1.

    youdao

  • 对象需要跟踪每个对象状态而且应该线程安全的。

    The object pool needs to keep track of the state of each object and to be thread safe.

    youdao

  • 提供现成对象

    Provides a pool of ready-made objects.

    youdao

  • 为了对象获取对象需要提供范围类型一个范围

    To retrieve an object from the object pool, provide a scope type and a scope key.

    youdao

  • 对象一样对象管理器负责获取对象对象返回中。

    Much like an object pool, an object manager is responsible for getting objects from a pool and returning objects back to the pool.

    youdao

  • 前面方法返回一个布尔用于显示处理程序能否对象池使用

    The former returns a Boolean value that indicates whether the handler can be pooled.

    youdao

  • 为了实现这种效果,要解决两个问题首先修改对象理解范围概念

    To accomplish this effect, resolve these two issues: First, modify the object pool so that it understands the concept of scope.

    youdao

  • 为了汇集任何. NET对象认为针对本文编写一个通用对象池有趣。

    For pooling any.net object, I thought it would be interesting to write a general-purpose object pool for this article.

    youdao

  • 对象只是有助于减少分配所需内存以及对象创建销毁所需的时间

    Object pooling only helps reduce the memory required for class allocations and the time required for object creation and destruction.

    youdao

  • 可以查询此类对象以获得类型实例前面关于技术示例述。

    Such pools can be queried for an instance of the class type, as given in the previous example about pools.

    youdao

  • 工厂维护一个用于服务应用程序请求HttpApplication对象

    The factory class maintains a pool of HttpApplication objects and uses them to service requests for the application.

    youdao

  • 资源管理实现对象能够获得实现持久化安全性状态管理事务托管资源模式。

    The resource manager implements the object pool and it gets the managed resource that implements persistence, security state management, and transaction.

    youdao

  • 3没有看到对象自动事务处理安全性以及EJB技术提供所有其他东西

    What you don't see in Figure 3 is object pooling, automatic transaction processing, security, and all the other good things that EJB technology provides.

    youdao

  • 如果对象使用频率或者对象创建销毁成本不高,对象可能不是正确策略

    If your objects are not used with high frequency or do not have a high creation or destruction cost, then object pooling might not be the right strategy.

    youdao

  • 为了使用并发消息传递优化性能我们必须注意力转向应用程序服务器托管许多对象

    To tune performance when using concurrent message delivery, we must turn our attention to a number of object pools managed by the application server.

    youdao

  • 使用对象时,分配初始化回收终结发生一次,从而减少内存使用所需处理时间

    When using an object pool, the allocation, initialization, collection, and finalization only occur once, reducing both the memory usage and the processing time that is required.

    youdao

  • 对象一起使用对象构造函数提供资源分配器能力无需实现完整的资源分配器。

    Object constructors used in conjunction with object pooling provide the capabilities of a resource dispenser, without the effort of implementing a full resource dispenser.

    youdao

  • 对象机制有助于减小进行的分配数量因为可以汇聚应用程序常见对象

    Object pooling helps level out the number of allocations made on the heap, since the most common objects in an application can be pooled.

    youdao

  • 对象机制可以降低应用程序所需分配数量从而降低应用程序所需的垃圾回收的数量。

    Object pooling reduces the number of allocations, and therefore the number of garbage collections, required by an application.

    youdao

  • 对象机制可以降低应用程序所需分配数量从而降低应用程序所需的垃圾回收的数量。

    Object pooling reduces the number of allocations, and therefore the number of garbage collections, required by an application.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定