Intel AS/400 RISC Server, 170 Servers Button Operation, Cache Management Record Definition Loader

Models: 7xx Servers 170 Servers AS/400 RISC Server

1 368
Download 368 pages 6.76 Kb
Page 112
Image 112

Button

Operation

Reset Counters

Resets the cache hit and miss counters back to 0.

Set Limit

Temporarily sets the cache limit to a new value.

 

Setting the value lower than the current value will

 

cause the cache to be cleared as well.

Refresh

Refresh the display of cache elements.

Clear Cache

Drop all the cached definitions.

Save List

Save a list of all the cached record data definitions.

 

This list is saved in the RecordJSPs directory of the

 

Webfaced application. The actual record definitions

 

are not saved, just the list of what record definitions

 

are cached. Once the cache is optimally tuned, this list

 

can be used to preload the Record Definition cache.

Cache Management - Record Definition Loader

As a companion to the Cache Content Viewer tool, there is also a Record Definition Cache Loader tool, which is also referred to as the Bean Loader. This servlet can be used to pre-load the cache to aid in the determination of the optimal cache size, and then finally, to pre-load the cache for production use. To enable this servlet add the following two xml segments in the web.xml file.

<servlet> <servlet-name>BeanLoader</servlet-name> <display-name>BeanLoader</display-name>

<servlet-class>com.ibm.etools.iseries.webfacing.diags.BeanLoader</servlet-class> </servlet>

<servlet-mapping> <servlet-name>BeanLoader</servlet-name> <url-pattern>/BeanLoader</url-pattern> </servlet-mapping>

Invoking this servlet will present a Web page similar to the following.

IBM i 6.1 Performance Capabilities Reference - January/April/October 2008

 

© Copyright IBM Corp. 2008

Chapter 6 - Web Server and WebSphere

112

Page 112
Image 112
Intel AS/400 RISC Server, 170 Servers, 7xx Servers manual Button Operation, Cache Management Record Definition Loader