Service locator implementations usually include a resource cache to avoid repeated lookups of the same resource.
服务定位器实现通常包括资源缓存,以此来避免对相同资源的重复查找。
Designer also creates SQL ce.sdf database file to be used as local cache store as well as synchronization code necessary to interact with the sync Service.
设计器还会创建SQL精简版数据库文件作为本地数据缓存,并生成与同步服务进行交互的代码。
Enable dynamic cache service in process server.
在流程服务器中启用动态缓存服务。
Figure 1 shows how this screen would look like after you have enabled the dynamic cache service.
图1显示了该屏幕在启用动态缓存服务后的外观。
The authentication provider checks whether the cache service returned details of the user or null.
身份验证提供者检查缓存服务返回的是用户的详细信息还是null。
To enable dynamic cache service for web services, you should enable the servlet caching on the server startup
要启用Web服务的动态缓存服务,您应该在服务器启动时启用servlet缓存
The Distributed Map functionality is part of the Websphere Application Server dynamic cache service, an extension to the J2EE architecture to improve application performance.
分布式映射功能是WebsphereApplicationServer动态缓存服务的一部分,是用来提高应用程序性能的J2EE体系结构的扩展。
When a change does occur the "server last updated" is set to pending, which forces the object to be updated the next time the Document Manager cache service runs.
在修改发生时,“serverlastupdated”设置为pending,因此对象会在DocumentManager缓存服务下一次运行时更新。
Therefore, J2EE 1.3 applications should not include the resource cache in their service locator implementations.
因此,在J2EE 1.3应用程序中,服务定位器的实现不应该包含资源缓存。
In the section, you will verify the web service cache behavior as expected.
在本小节,您将证实Web服务缓存行为实现了预期功能效果。
My third implementation used a service locator with no cache.
我的第三个实现使用没有缓存的服务定位器。
This allows us to cache our synonyms if the service is not available.
如果服务不可用,则允许我们缓存同义词。
So overloaded resource names mess up a service locator and its cache.
重载资源名使得服务定位器与其缓存之间变得混乱。
AspectJ rises to the occasion as an excellent architectural mechanism that can weave functionality like logging into an already compiled feature like the cache and service under development here.
AspectJ适时出现了,可用作将日志记录之类的功能与此处开发的缓存和服务之类的已编译功能结合到一起的优秀体系结构机制。
Since logging is not a direct part of the service or cache functionality, it can't really be considered part of the core design of the pattern.
由于日志记录并不是服务或缓存功能的直接子功能,因此并不能真正将其作为模式核心设计的一部分进行考虑。
But the service locator should not include a resource cache.
但是服务定位器不应包含资源缓存。
Part of the goal of this pattern discussion is to include some way to log usage of the service and the cache.
此模式讨论的目标之一就是要包含用于记录服务和缓存的使用情况的方法。
The DNS information remains in the operating system's DNS cache (the "DNS Client service" on Microsoft Windows).
DNS信息仍保留在操作系统的DNS缓存(“ DNS客户端服务”在MicrosoftWindows上)。
Listing 2 shows a sample global cachespec.xml file with a single cache entry for the web service call.
清单2显示一个样例全局cachespec . xml文件以及Web服务调用的一个缓存条目。
Besides the fine tuning you can do with cache headers, this service also gzips files returned to the client, if the client is capable of receiving and processing gzip content.
除了对缓存头文件执行微调优,该服务还压缩返回给客户的的文件,如果客户端能够接收和处理gzip内容的话。
Memcached: A networked service that provides a distributed objects cache.
Memcached:一种网络服务,可提供分布式的对象缓存。
To enable the cache configuration file for the web service call using the global method
要使用全局方法来启用Web服务调用的缓存配置文件
By using a cache in this way, the effects of a cloud service outage can be mitigated.
通过以这种方式使用缓存,可以减轻云服务停机造成的影响。
If a matching response is found, the cache request mediation returns the response message to the service consumer immediately.
如果找到匹配响应,缓存请求中介则将该响应消息立即返回给服务使用者。
A central cache of proxies and invokers could be queried with the framework and service contexts.
可以使用框架和服务上下文,对代理和调用程序的中央缓存进行查询。
This is simple to apply to an existing application: just change the service locator implementation to disable or remove the cache.
将其应用于现有应用程序很简单:只要改变服务定位器实现去禁止或去除缓存。
Requests that are served from the cache lower the amount of bandwidth normally needed to support communication between consumer and service.
通过缓冲服务的请求降低了为支持消费者和服务之间的通信通常所需的带宽要求。
A client can therefore cache a representation of a resource, which can significantly improve the application's performance, where a service explicitly allows it.
因此在服务显式地允许的情况下,客户端可以缓存资源的表示形式,从而显著改进应用程序的性能。
This article also illustrates the use of the dynamic cache feature in WebSphere Application Server to manage the life cycle of stored objects within the service in a distributed environment.
本文还演示了如何使用WebSphereApplicationServer中的动态缓存功能来在分布式环境中管理服务内的存储对象的生命周期。
It's the dependency injection's job to create and cache that service.
新建和缓存这个服务是依赖注入器的工作。
应用推荐