To use the cache, call the API to determine whether an object was previously cached.
要使用缓存,需要调用API来确定先前是否已缓存了对象。
Next, to optimize Rh you can improve the chances that an object will be found in the remote cache by using either a preloading strategy or a predictive loading strategy.
接下来,优化Rh,您可以使用预加载策略或预测性加载策略提高在远缓存中找到对象的几率。
Database information is mapped using a JCache implementation, cached in an ActiveSpace clustered cache and distributed to the application through an object relational mapping.
数据库信息使用JCache实现进行映射,缓存在ActiveSpace的集群缓存中,并通过对象关系映射提供给应用程序。
Initializing the JCS cache region object gives you access to almost all of the common methods you'll need. Listing 3 initializes the JCS object and gets an instance of the default cache region.
初始化jcs缓存区域对象能使您访问大部分所需的常用方法。
Otherwise, go to the database, fetch the requisite data, map it to an object, and add it to the cache.
否则,转至数据库、获取必需的数据、将其映射到对象中并把它添加到缓存中。
The best way to cache is for an object to store any JNDI reference it USES in an instance variable.
为对象缓存的最好的方式是存储任何的它要在实例变量中使用的JNDI引用。
This is the time that it takes to retrieve an object from the near cache.
这是从近缓存中检索对象所需的时间。
It leaves the cache optional so that the caller can just create a Butterfly object to apply an XSLT transformation, without worrying about caching or framework configuration.
这样缓存变为可选,因此,调用程序可以只创建一个Butterfly对象来应用XSLT转换,而不必考虑缓存或框架配置。
To place and get an object from the cache you use put and get methods.
要在缓存中放置和获取对象,请使用put和get方法。
You can pass an object to enable it and let webpack use the passed object as cache.
你可以传递一个对象启用它并且让webpack把传递的对象作为缓存。
You can pass an object to enable it and let webpack use the passed object as cache.
你可以传递一个对象启用它并且让webpack把传递的对象作为缓存。
应用推荐