While analyzing cache behaviour for our application. I came to know one more interesting thing related to repository cache. That is to print the content of item-cache.
The
<
dump-caches>
tag can be used to print out the contents of the item cache for one or more item descriptors.There are two attributes in this tag.
1. dump-type It takes one of the values from below set.
-
debug
: To display cache items.
-
queries
: Creates a log entry consisting of the <load-items> tag that is used to reload the cache.
-
both
: Combines the output of debug
and queries
.
2. item-descriptors A comma-separated list of one or more item descriptor names. If no item descriptors are specified, all item descriptor caches are exported.
No comments:
Post a Comment