Class StatisticsProviderExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<StatisticsProvider>
org.ametys.runtime.plugins.admin.statistics.StatisticsProviderExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<StatisticsProvider>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class StatisticsProviderExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<StatisticsProvider>
Extension point handling the remove statistics
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerate the statisticsGenerate the statistics with tree information for client displayvoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The component role
-
-
Constructor Details
-
StatisticsProviderExtensionPoint
public StatisticsProviderExtensionPoint()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractThreadSafeComponentExtensionPoint<StatisticsProvider>
- Throws:
ServiceException
-
computeStatistics
Generate the statistics- Returns:
- The non null map of statistics
- Throws:
IOException
- If an error occurred while caching the results
-
getStatisticsTree
Generate the statistics with tree information for client display- Returns:
- The non null map of statistics
- Throws:
IOException
- If an error occurred reading the cache file
-