Pruning the cache object reduces its memory footprint.
清除高速缓存对象减少了它的内存量。
Recall that the constructor takes the cache object as an optional argument.
回想一下,构造函数以可选参数的方式接受缓存对象。
This way you can share the cache object between multiple compiler calls.
用这个方式,你可以在多个编译器调用的时候公用缓存。
To use it, you first need to create the cache object, using a unique name.
使用前,先创建一个缓存对象,并起个不重复的名字。
Only the code creating the cache object needs to know about the new kind of cache.
只有创建缓存对象的代码需要了解新的缓存类型。
While you implemented the generic cache object in a flow scenario, you can use it elsewhere.
虽然您是在流方案中实现这个通用的高速缓存对象,但是您也可以在其他场合使用它。
This program demonstrates a basic memory leaking operation involving an unbounded growth in a cache object.
此程序演示的基本内存泄漏操作涉及缓存对象中的无限增长。
While commercial tools may be available, rolling your own cache object provides the utmost in flexibility, control, and affordability.
虽然有现成的商业工具可以使用,但是运行您自己的高速缓存对象则提供了最好的灵活性、最强的控制和最大的购买能力。
Now that you have explored cache systems and created a generic cache object, you can learn how to integrate caching in other web service solutions.
既然您已经探索了高速缓存系统并且创建了一个通用的高速缓存对象,您可以学习如何在其他的Web服务解决方案中集成高速缓存了。
You'll have to decide if the trade-off is worth it because the Cache object automatically discards least-used data if the system runs low on memory.
您必须权衡利弊,因为如果系统内存运行效率低,Cache对象会自动丢弃最少使用的数据。
Helper objects include the cache manager (the cache object) and the internal file system monitor used to detect changes in the source files that form the application.
帮助对象包括缓存管理(Cache对象)和用于发现应用程序源文件改变的内部文件系统监控器。
You should be aware that the cache object itself is thread safe, but if you cache a non-thread safe object in the cache that won't make the cached object itself automatically thread safe.
您应该意识到缓存对象本身是线程安全的,但是如果你在缓存中缓存不是线程安全对象,不会让缓存对象本身自动线程安全的。
After selecting Object cache instances, you are presented with a screen similar to Figure 2.
选择对象缓存实例以后,您将看到与图2所示类似的屏幕。
Second, in Figure 2 there are no existing object cache instances.
第二,图2 中不存在现有的对象缓存实例。
As mentioned earlier, each object can also cache the JNDI references it USES in instance variables, so that each object only has to access a reference one time.
正如前文所述,每个对象也可以缓存它在实例变量中使用的JNDI引用,所以每个对象在某一时刻只能访问一个资源。
The code example shows how the application looks up a cache instance through its JNDI name, puts an object into a cache instance, and then retrieves it later.
下面的代码示例显示了应用程序如何通过其JNDI名称查找缓存实例,将对象放入缓存实例中,并稍后对其进行检索。
It guarantees everyone's cache sees the same version of each object, except when a near cache is used.
它保证每个缓存中只存在每个对象的同一版本,除非使用了一个近缓存。
They are traditionally lightweight and used for executing tasks such as cache cleanup and object cleanup.
这些线程通常都是轻量级的,用于执行缓存清理和对象清理之类的事务。
Only if the data is not available in the object cache, a backend system might be called to deliver the requested data.
仅当数据在对象缓存中不可用时,才会调用后端系统交付请求的数据。
As a result, allocating an object on the heap will likely entail more cache misses than allocating that object on the stack.
所以,在堆上分配对象,比起在堆栈上分配对象,会带来更多缓存遗漏。
Each instance of the DistributedMap interface has its own properties that you can set using Object cache instance Settings.
Distributed Map接口的每一个实例都具有其自己的属性,可以使用对象缓存实例设置设置这些属性。
In general, and especially for Fabric clustering, it is important to create the object cache instances at the widest scope possible.
一般来讲,尤其是对于Fabric集群,在尽可能最广的范围内创建对象缓存实例是非常重要的。
The proxy caching capability is built on the object cache infrastructure of WebSphere Application Server V6.
该代理缓存功能是建立在WebSphereApplicationServerV6对象缓存基础设施之上的。
Object cache to defend against replay attacks.
使高速缓存抵御重播攻击(replay attacks)。
Lookups are performed on the dentry cache, which result in an object in the inode cache.
查找是在dentry缓存中执行的,这将导致inode缓存中出现一个对象。
A portlet that receives a portlet request can use the object cache to store data required to render the response.
接收Portlet请求的Portlet可使用对象缓存存储呈现相应响应所需的数据。
The Memcache daemon, called memcached, is a high-performance distributed object cache.
名为memcached的Memcache守护程序是一种高性能的分布式对象缓存。
The put method places a new object into the cache.
put方法将一个新对象放入缓存中。
The fragment cache supports two primary types of cache instances: object cache instances and servlet cache instances.
片段缓存支持两种主要的缓存实例:对象缓存实例和Servlet缓存实例。
The fragment cache supports two primary types of cache instances: object cache instances and servlet cache instances.
片段缓存支持两种主要的缓存实例:对象缓存实例和Servlet缓存实例。
应用推荐