Cache Custom Report Tag
This custom tags provide graphical standard reports, that are useful in determining the current state of the Cache.
cacheReport
Syntax
<cacheReport
monitor = cache monitor cfc
mode = basic|detail
chartsize = "size of chart"
>
</query>
Attributes
| Attribute | Req/Opt | Default | Description |
|---|---|---|---|
| monitor | Required | - | The CacheMonitor library, as returned from transferFactory.getTransfer().getCacheMonitor |
| mode | Optional | 'basic' | basic: Gives a short overview of the cache state, with graphs displaying the totals, and the overall hit miss ratio. detail': Shows graphical statistics on each of the classes that are currently in cache. |
| chartsize | Optional | 400 | The size of each of the charts, in pixels. |
Examples
<cfimport prefix="report" taglib="/transfer/tags/reports"> <--- Basic Report ---> <p> <report:cacheReport monitor="#application.transferFactory.getTransfer().getCacheMonitor()#"> </p> <--- Detailed Report ---> <p> <report:cacheReport monitor="#application.transferFactory.getTransfer().getCacheMonitor()#" mode="detail" chartsize="300"> </p>
Categories:
Wiki Menu
User Login