Class PageElementCacheStatsGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.ametys.web.cache.monitoring.ui.PageElementCacheStatsGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
Cache stats generator for related to the back-office (pages and page elements)
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
Object model representing an entry of stats for a PageElementprotected class
Object model representing an entry of stats for a Page -
Field Summary
Modifier and TypeFieldDescriptionprotected InputDataExtensionPoint
Input Data extension pointMap linking page Id to page stats entriesprotected ResourceStatisticsComponent
Resource statistics componentprotected SiteManager
Ametys resolverprotected Multimap<PageElementCacheStatsGenerator.PageStatsEntry,
PageElementCacheStatsGenerator.PageElementStatsEntry> Map of stats entriesFields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
setup
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Field Details
-
_resourceStatisticsCmp
Resource statistics component -
_inputDataExt
Input Data extension point -
_siteManager
Ametys resolver -
_pageIdMap
Map linking page Id to page stats entries -
_statsMap
protected Multimap<PageElementCacheStatsGenerator.PageStatsEntry,PageElementCacheStatsGenerator.PageElementStatsEntry> _statsMapMap of stats entries
-
-
Constructor Details
-
PageElementCacheStatsGenerator
public PageElementCacheStatsGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableGenerator
- Throws:
ServiceException
-
recycle
- Specified by:
recycle
in interfaceRecyclable
- Overrides:
recycle
in classAbstractGenerator
-
generate
-