Memoization - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

implementation of Processing Policy objects. A Processing Policy uses Matching
Rule objects to determine whether a candidate XML document is subject to specific
processing instructions in the policy.
Refer to Appendix B, "Processing Policy procedures," on page 999 for procedural
details about the creation and implementation of Matching Rule and Processing
Policy objects.
Use the no matching command to delete a Matching Rule.
Related Commands
cancel, exit

memoization

Enables the optimization of XPath expressions for a specific XML Manager.
Syntax
memoization XML-manager
no memoization XML-manager
Parameters
XML-manager
Guidelines
Memoizing an XPath expression adds a transparent caching wrapper to the
expression, so that expression values that have already been calculated are
returned from a cache rather than being recomputed each time. Memoization can
provide significant performance gains for computing-intensive calls.
Memoization is enabled by default, and should rarely, if ever, be disabled. It is
possible, however, that with certain style sheets, memoization could inflict a
performance penalty. The identification of such style sheets is largely a matter of
trial and error.
Use the no memoization command to disable XPath expression optimization.
Examples
v Disables XPath optimizations for the mgr1 XML Manager.
v Restores the default condition by enabling XPath optimizations for the mgr1
Specifies the name of an XML manager.
# no memoization mgr1
XML memoization successfully disabled
XML memoization successfully updated
#
XML Manager.
# memoization
XML memoization successfully enabled
XML memoization successfully updated
#
Chapter 2. Global configuration mode
67

Advertisement

Table of Contents
loading

Table of Contents