释放非托管资源所占用的内存。
类是一个WMI托管资源的一个蓝图。
工具路径:托管资源编译器工具的路径。
该类维持在其它对象上管理托管资源的引用。
This class maintains references to managed resources on other objects.
托管资源模式使用以下扩展来创建云资源模式(见图4)。
The managed resource pattern employs the following extensions to create the cloud resource pattern (see Figure 4).
您要编辑的任何托管资源都必须是链接的资源。
Any managed resources you want to edit must be linked resources.
以释放非托管资源。
使用与实现特征相关的修改来强化托管资源模式和托管任务模式。
Enhance the managed resource pattern and managed task pattern with the implementation attribute-related changes.
此外,一个托管任务很可能封装了一个或多个它所处理的托管资源。
In addition, a managed task most likely encapsulates one or more of the managed resources that it works on.
类似地,JDBCConnection是一种托管资源模式。
编译应用程序时,图像以托管资源的形式嵌入在程序集中。
When your application is compiled, the image is embedded as a managed resource in the assembly.
释放由该对象使用的非托管资源,并可选择释放托管资源。
Releases the unmanaged resources that are used by the object and optionally releases managed resources.
图2展示了登录后的图形控制台的外观,上面显示了托管资源和相关的配置选项。
Figure 2 illustrates the graphical console as it appears after login, showing the managed resources and associated configuration options.
这会导致出现两种您需要关注的完全不同的模式,托管资源模式和托管任务模式。
This leads to two distinct patterns you should be concerned with — the managed resource pattern and the managed task pattern.
由垃圾收集我们的对象的破坏是的完美的释放那些讨厌的非托管资源的时间。
The destruction of our object by the Garbage collector is the perfect time to free those pesky unmanaged resources.
资源管理器实现了对象池,它能够获得实现持久化、安全性状态管理和事务的托管资源模式。
The resource manager implements the object pool and it gets the managed resource that implements persistence, security state management, and transaction.
CloudResource扩展了托管资源,在需要时支持分布式事务和状态持久化逻辑。
The CloudResource extends the managed resource to include distributed transactions and state persistence logic, if needed.
寻找不再使用的对象,释放其占用的内存,以及释放非托管资源所占用的内存。
Find the objects no longer needed, release the memory the objects occupied, and affranchise memory occupied by unmanaged resources.
策略部分介绍了托管资源模式是如何扩展到云资源模式的,以及托管任务模式是如何扩展到云任务的。
The strategy section shows how the managed resource pattern is extended to the cloud resource pattern and the managed task pattern is extended to the cloud task pattern.
请注意,项目中文件的名称不是程序集清单中托管资源的标识符(有关更多信息,请参见程序集清单)。
Note that the name of the file in your project will not be the identifier for the managed resource in the assembly manifest (see assembly manifest for more information).
项目中的文档、模板或工作簿中可能包含静态文本,静态文本必须与程序集及其他托管资源分开进行本地化。
The document, template, or workbook in your project probably includes static text, which must be localized separately from the assembly and other managed resources.
我们将托管资源和托管任务模式转变成云资源和云任务模式,以便向您介绍如何将容器服务扩展为云应用程序使用的服务。
we have adapted the managed resource and managed task patterns into cloud resource and cloud task patterns to show you how to extend container services to be used by cloud applications.
JMX代理可以让它的托管资源——也就是说,目前注册到它的MBean服务器上的mbean集——对其他远程代理可用。
A JMX agent can make its managed resources — that is, the set of MBeans currently registered in its MBean server — available to other remote agents.
上面我们了解了CLR如何管理托管资源。下面我们来看垃圾收集器如何寻找不再使用的托管对象,并释放其占用的内存。
In previous paragraphs, we learn how CLR manages managed resources. In following paragraphs, we will see how garbage collector find objects no longer needed, and release the memory.
如果我有一个callhandlerservice需要针对每一个来电了(因为它使用昂贵的,非托管资源的实例),我该如何做?
If I have a CallHandlerService that needs to be created in response to each incoming call (because it uses expensive, unmanaged resources for instance), how do I go about doing that?
最后,我们想要指出的是,JEEConnectorArchitecture (JCA)是一种实现托管资源和托管任务模式扩展的方法之一。
Finally, we would like to note that the JEE Connector Architecture (JCA) is one of the options to implement the extensions to managed resource and managed task patterns.
资源适配器的托管连接实现第一个接口——解除关联接口——以向连接管理器表明适配器支持这种优化。
A resource adapter's managed connections implement the first interface — the interface for dissociation — to indicate to the connection manager that the adapter supports this optimization.
通过远程托管系统和应用程序,您可以节省大量能耗和资源。
You can save a great deal of energy and resource by remote hosting of systems and applications.
不会阻塞托管任务资源,从而能更高效地完成要执行的任务。
Managed task resources are not blocked, allowing the tasks to execute to completion more efficiently.
所有托管任务资源用完之后,应用服务器就不能处理其他传入的工作了。
With all managed task resources consumed, the application server can't process more incoming work.
应用推荐