默认情况下,命令缓存最多存放当前交互clp会话过程中运行的二十个命令。
By default, the command cache holds up to twenty commands that were run during the current interactive CLP session.
对于CLP交互运行时环境,DB 2UDBVersion8还包括一些有用的命令缓存。
DB2 UDB Version 8 also includes a handy command cache for the CLP interactive runtime environment.
无论如何,虽然本实例很简单,但它是设计用来演示用门户网站应用程序使用命令缓存的所有方法的。
However, while the example is simple, it is designed to demonstrate the overall approach for using command cache with a portal application.
具有命令缓存的真正好处在于可以使用新的RUNCMD(或R)命令执行缓存中的任何命令。
The real benefit of having the command cache comes from the fact that you can use the new RUNCMD (or R) command to execute any command in the cache.
还可以使用新的命令缓存来运行以前执行的命令,或者使用操作系统的集成命令编辑器或选择的编辑器来编辑那些命令。
You can also exploit a new command cache to run previously executed commands, or to edit those commands using your operating system's integrated command editor or an editor of your choice.
在实例中,我们选择缓存Web服务调用的结果,但是还可以缓存很多类型的数据,并基于不同的原因可以使用命令缓存。
In the example, we chose to cache the results of a Web service call, but there are many types of data that can be cached and different reasons to use the command cache.
这是因为如果在创建命令后直接使用,队列管理器详细信息将被缓存。
This is because if used directly after a create command, the queue manager details are cached.
如果这个数字在连续执行showSTATUS命令时快速增加,就应该尝试增大线程缓存。
If this number increases quickly between successive SHOW STATUS commands, you should look at increasing your thread cache.
我们使用同一缓存来发送命令和获取所需日志信息。
We use the same buffer to both send the command and get log information we need.
使用FLUSHPACKAGE命令来删除包缓存器中当前所有缓存的动态sql语句,并强制隐式地编译下一请求。
Use the FLUSH package command to remove all cached dynamic SQL statements currently in the package cache and force the next request to be implicitly compiled.
命令和分布式映射都是基于API的缓存。
使用-M命令行选项来设置高速缓存的最大大小。
Use the -M command line option to set the maximum size of the cache.
该命令存放在缓存中,与返回数据的内存空间在进程中交换数据。
The command is included in a buffer being exchanged in the process along with the space left for returned data.
命令历史记录不会在会话与会话之间持续;会话结束时,缓存就会被清除,这通常发生在运行QUIT 命令之后。
The command history does not persist from session to session; the cache is cleared when the session ends, which normally happens after you run the QUIT command.
RUNCMD和EDIT都允许指定命令序号来标识要编辑或运行的缓存命令。
Both RUNCMD and edit let you specify a command sequence number to identify the cached command that you want to edit or run.
可以使用清单1中的命令行选项控制缓存的最大大小,但是请注意,这个最大大小可能受到操作系统共享内存限制的约束
You can control the maximum size of the cache by using the command line option in Listing 1, but note that this maximum size may be constrained by operating system restrictions on shared memory
如果您使用命令行缓存,所有的数据都被缓存,并且都使用XML配置文件定义的时间。
If you used command cache, all the data is cached for the same time defined in the XML configuration file.
WebSphereCommerce使用dynacache来缓存整个页面(JSP)、页面碎片和命令。
WebSphere Commerce uses dynacache to cache whole pages (JSPs), page fragments, and commands.
在命令提示符中,输入下列命令以启用Portlet片段缓存。
In the command prompt, you enter the following commands to enable portlet fragment caching.
mount命令可以控制在缓存中保存这些条目的时间长度。
The mount command controls the length of time that the entries are kept in cache.
以下是用于更改这些缓存参数的命令。
Here are the commands you use to change these caching parameters.
修改高速缓存的大小的方法是使用 mqsichangeproperties命令。
To change the cache size, use the mqsichangeproperties command.
这个引擎的主要特性包括:UImodule组定位、UI module缓存、命令集处理、用jQuery重新实现的SeleniumAPI以及新的Tellurium API。
The main features of the Engine are: UI module group locating, UI module caching, Command bundle processing, Selenium APIs re-implemented in jQuery, and new Tellurium APIs.
查找Linux计算机上的缓存目录,使用适当的命令查找mkdir所需的库。
Locate the caching directory on your Linux computer, and use the appropriate command to find a library that mkdir needs.
set命令用于向缓存添加新的键值对。
再次调用HISTORY命令来显示缓存中现在有5个命令,包括修改的SELECT语句。
Invoking the HISTORY command again shows that there are now five commands or statements in the cache, including the modified SELECT statement.
在ccache中使用- s命令行选项来获得关于高速缓存性能的统计数据(见清单3)。
Use the -s command line option with ccache to get statistics about the cache performance (see Listing 3).
在本文的最后,我将讨论如何使用高级memcached命令来确定缓存的性能。
I'll conclude this article with a lesson in using the advanced memcached commands to find out how your cache is performing.
WebSphere还可以拦截命令对象对execute方法的调用,并存储动态缓存内对象的内容。
WebSphere can also intercept a call to the execute method of a command object and store the content of the object within the dynamic cache.
WebSphere还可以拦截命令对象对execute方法的调用,并存储动态缓存内对象的内容。
WebSphere can also intercept a call to the execute method of a command object and store the content of the object within the dynamic cache.
应用推荐