可以在任何时间重新创建缓存数据。
Cache data is that which can be re-created at any point in time.
在考虑预加载时,节省试图重新创建缓存的时间和精力将是一个设计目标。
Saving yourself the time and effort in trying to recreate the cache should be a design goal when preloading is being considered.
如果要在真正的缓存中存储数据,则系统可能丢弃缓存的部分以获得用于其他任务的内存,这是因为通常客户机可以重新创建缓存的数据。
If you were to store the data in a real cache, then the system could discard parts of the cache to gain memory for other tasks because the client can always re-create the cached data.
如果您要提高这里的性能,可以缓存该字符串,而不是为库存中的每个项目重新创建它。
If you were to improve performance here, you could cache the string instead of re-creating it for every item in the inventory.
这可以确保重新创建的是客户端策略集,而不是使用前面的无效配置的缓存副本。
This ensures that the client policy set configuration is recreated instead of using a cached copy of the previous invalid configuration.
如果信息特定用于单一实例,那么本地缓存就没有问题,因为即使该实例停止工作,您始终可以重新创建它。
If information is specific to a single instance, a local cache is fine, as you can always re-create it if the instance stops functioning.
这样,如果在转换链的任何阶段删除了缓存文件,将使所有的相关Butterfly缓存文件无效,必须重新创建这些文件。
This way, if a cache file is removed at any step of the transformation chain, it has the effect of invalidating all dependent Butterfly cache files, forcing their recreation.
最佳方法就是移除强引用的涉及到的缓存,图片对象,以及其它可以在之后使用时还可以重新创建的数据对象。
The best way to do this is to remove strong references to caches, image objects, and other data objects that can be recreated later.
最佳方法就是移除强引用的涉及到的缓存,图片对象,以及其它可以在之后使用时还可以重新创建的数据对象。
The best way to do this is to remove strong references to caches, image objects, and other data objects that can be recreated later.
应用推荐