Recall that the constructor takes the cache object as an optional argument.
回想一下,构造函数以可选参数的方式接受缓存对象。
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.
虽然您是在流方案中实现这个通用的高速缓存对象,但是您也可以在其他场合使用它。
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服务解决方案中集成高速缓存了。
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对象)和用于发现应用程序源文件改变的内部文件系统监控器。
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.
使用前,先创建一个缓存对象,并起个不重复的名字。
To use it, you first need to create the cache object, using a unique name.
使用前,先创建一个缓存对象,并起个不重复的名字。
应用推荐