The rest of this article shows you how to build a lazy-loaded tree grid with QueryReadStore.
本文余下部分将向您介绍如何使用 QueryReadStore构建一个延迟加载(lazy-loaded)树型网格。
The paper introduces the lazy-loaded mechanism to solve the problem, the method can load parts of XML document to memory according to the query, therefore, avoids unnecessary space cost.
针对该问题,本文介绍了XML延时加载机制,该机制根据查询请求将查询所涉及到的XML数据加载到内存,避免了不必要的空间开销。
This behavior known as Lazy Loading ensures that dependents are only loaded as they are specifically requested and hence makes it possible to avoid unnecessary creation of objects.
延迟加载行为保证了依赖的数据只有在真正请求时才会被加载进来,这样就可以避免创建无谓的对象。
Instead of querying all data from an association when an object is loaded, queries for associations marked as lazy are deferred until that association is actually used.
如果关联被标为惰性的,那么在装载对象时并不通过关联查询所有数据,而是直到实际使用这个关联时才执行查询。
A lazy association can be traversed (and the associated entity retrieved) long after its parent object was initially loaded.
惰性的关联可能在最初装载它的父对象之后很长时间才被访问(并获取相关联的实体)。
In this section, you create a lazy loaded Dojo tree using JsonRestStore.
在这一部分,您可以使用JsonRestStore创建一个延迟加载的树。
Whenever an Employee is loaded, Hibernate does not automatically load the Address because the association between these objects is lazy.
这两个对象之间的关联是惰性的,所以当装载Employee对象时,Hibernate并不自动装载address。
Before digging deep into the Dojo tree creation process, the next section covers a few essential concepts for creating a lazy loaded tree.
在深入了解dojo树创建过程之前,下一部分包含了一些创建延迟加载树的关键概念。
Create a lazy loaded Dojo tree.
创建一个延迟加载的dojo树。
When a single object is loaded, no fewer queries are run than if lazy association is used.
当装载单一对象时,运行的查询并不比使用惰性关联时少。
The assumption on a lazy-load strategy is that once a piece of data has been loaded into the cache it will likely be used again.
延迟加载策略的构想是,如果将一个数据加载到了缓存中,就有可能再次用到它。
The implementation binaries, present in a separate .jar file, is lazy loaded -- that is, it's loaded only when the plug-in is run.
由一个单独的 .jar文件提供的实现二进制代码是迟加载 的,也就是说,当插件运行后才进行加载。
Modules can be loaded eagerly when the application starts. They can also be lazy loaded asynchronously by the router.
模块可能在应用启动时主动加载,也可能由路由器进行异步惰性加载。
Lazy loading: The purpose of lazy loading is to optimize memory utilization of database servers by prioritizing components that need to be loaded into memory when a program is started.
延迟加载:它的目的是优化数据服务器的内存利用率,当程序启动后优先加载那些需要加入到内存的对象,不需要加载的推后加载。
Give lazy loaded images a specific class.
给懒加载图像一个特定的类。
In the case of lazy loading, this connection occurs whenever a navigation property is accessed and the related object is not already loaded.
在延迟加载的情况下,只要访问导航属性并且相关对象尚未加载,就会建立此连接。
In the case of lazy loading, this connection occurs whenever a navigation property is accessed and the related object is not already loaded.
在延迟加载的情况下,只要访问导航属性并且相关对象尚未加载,就会建立此连接。
应用推荐