首先,您需要启用动态缓存服务。
First, you need to enable the dynamic cache service. In the administrative console for Websphere Application server.
我第二个实现使用了缓存服务定位器。
例如,设计一个大型分布式缓存服务。
遗留方法:当前支持内存或分布式缓存服务。
Legacy method: Currently support in-memory or distributed cache services.
对于这种情况,我们感兴趣的是动态缓存服务。
For this scenario, we are interested in the dynamic caching service.
在流程服务器中启用动态缓存服务。
图24的示例展示了运行时的缓存服务的外观。
Figure 24 shows an example of what the running caching service looks like.
图1显示了该屏幕在启用动态缓存服务后的外观。
Figure 1 shows how this screen would look like after you have enabled the dynamic cache service.
我如何在代码中配置蔚蓝的缓存服务?
页面将通过动态高速缓存服务存储到内存中。
The pages are stored into a memory by the dynamic cache service.
在数据服务编排层,缓存由专门的数据缓存服务提供支持。
At the data services orchestration tier, caching is supported by a specialized data caching service.
缓存服务可以选择用一个云资源服务适配器进行包装。
The cache services can be optionally wrapped by a cloud resource adapter.
类似的一个例子将是一个为另一个DAO提供缓存服务的DAO。
Another example would be a DAO that provides caching services for another DAO.
可以开展进一步工作,使用适当的异常处理和缓存服务加强实现。
Further work can be done on the framework to enhance the implementation with proper exception handling and caching services.
由于缓存服务定位器的原因,两个bean现在使用相同数据源。
Because of the caching service locator, the two beans are now using the same data source.
好,既然是由于缓存服务定位器导致重载资源名时的错误。
OK, so a caching service locator causes errors for overloaded resource names.
身份验证提供者检查缓存服务返回的是用户的详细信息还是null。
The authentication provider checks whether the cache service returned details of the user or null.
这个国有高速缓存服务也可用于公共用途或高速缓存同层布置。
This national cache service is also available for public use or cache peering arrangements.
此解决方案要通过在消息传递中间件中缓存服务响应消息来缩短服务响应时间。
The solution is to reduce the service response time by caching the service response messages in messaging middleware.
空闲文件描述符的状态是已知的,因为在状态改变时会通知 poll缓存服务。
The state of idle file descriptors is known since the pollcache service is notified once when it changes.
不要只假设缓存服务定位器能显著的提高应用程序的性能,要使用性能测试来证明这一点。
Do not just assume that a caching service locator significantly improves application performance; use performance testing to confirm that it does.
该Oraclerac节点的全局缓存服务(GCS)负责管理对这些数据块集的访问。
The Global Cache Service (GCS) of that Oracle rac node is responsible for managing access to these sets of data blocks.
包含缓存服务定位器的应用程序迟早要出问题,而且这个问题将很难检测、很难再现且很难诊断。
Applications that contain a caching service locator are a problem waiting to happen — a problem that will be difficult to detect, difficult to reproduce reliably, and difficult to diagnose.
要启用Web服务的动态缓存服务,您应该在服务器启动时启用servlet缓存
To enable dynamic cache service for web services, you should enable the servlet caching on the server startup
如果你使用一个动态的服务来覆盖缓存服务,那么一般应该选择一个缓存服务作为首要的地图服务。
If you are overlaying a cached service with a dynamic service, you should generally choose the cached service as the Primary Map Resource.
正如所预测的那样,重载的资源名和缓存服务定位器使得代码执行有不同的结果,它使某些组件取得错误的资源。
Just as predicted, overloaded resource names and a caching service locator makes the code execute differently; it makes some components get the wrong resources.
动态高速缓存(也称为WebSphere动态高速缓存服务)是应用服务器上默认启用的WebSphere服务。
Dynamic cache (also known as WebSphere dynamic cache service) is a WebSphere service that is enabled on an application server by default.
当两个组件使用一个重载的资源名,也就是说,一个名称绑定到两个不同的资源,缓存服务定位器为两个组件返回相同的资源。
When two components use a resource name that is overloaded — that is, a name that is bound to two different resources — a caching service locator returns the same resource to both components.
不用深入研究高速缓存服务调用结果的详细情况,我将给您举一个项目经历中的反面实例,可以使您避免所描述的缺陷。
Without going into the details of caching service call results, I will give you a negative example from project experience, so you can avoid the described pitfall.
使用WebSphere日志记录和缓存服务以及 WebSpherePortal访问控制管理还有助于简化管理。
The use of WebSphere logging and caching services and WebSphere Portal access control management also help to simplify administration.
应用推荐