Class MetricService

  • All Implemented Interfaces:
    java.io.Serializable

    @Named("metricService")
    public class MetricService
    extends org.gluu.service.metric.MetricService
    Store and retrieve metric
    Author:
    Yuriy Movchan Date: 06/28/2015, Rahat Ali Date: 07/30/2015
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String baseDn()  
      AuthenticationChartDto genereateAuthenticationChartDto​(int countDays)  
      org.gluu.model.ApplicationType getApplicationType()  
      org.gluu.persist.PersistenceEntryManager getEntryManager()  
      org.gluu.service.metric.MetricService getMetricServiceInstance()  
      java.lang.String getNodeIndetifier()  
      void initTimer()  
      boolean isMetricReporterEnabled()  
      • Methods inherited from class org.gluu.service.metric.MetricService

        add, add, addBranch, buildDn, close, containsBranch, createApplicationBaseBranch, createBranch, findAllPeriodBranches, findMetricEntry, getCounter, getEntryLifetimeInDays, getExpiredMetricEntries, getMetricEntryByDn, getRegisteredMetricTypes, getTimer, getUiqueIdentifier, incCounter, initTimer, prepareBranch, remove, removeBranch, removeExpiredMetricEntries, update, writeMetricEntries
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • METRIC_SERVICE_COMPONENT_NAME

        public static final java.lang.String METRIC_SERVICE_COMPONENT_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • MetricService

        public MetricService()
    • Method Detail

      • initTimer

        public void initTimer()
      • baseDn

        public java.lang.String baseDn()
        Specified by:
        baseDn in class org.gluu.service.metric.MetricService
      • getMetricServiceInstance

        public org.gluu.service.metric.MetricService getMetricServiceInstance()
        Specified by:
        getMetricServiceInstance in class org.gluu.service.metric.MetricService
      • genereateAuthenticationChartDto

        public AuthenticationChartDto genereateAuthenticationChartDto​(int countDays)
      • isMetricReporterEnabled

        public boolean isMetricReporterEnabled()
        Specified by:
        isMetricReporterEnabled in class org.gluu.service.metric.MetricService
      • getApplicationType

        public org.gluu.model.ApplicationType getApplicationType()
        Specified by:
        getApplicationType in class org.gluu.service.metric.MetricService
      • getEntryManager

        public org.gluu.persist.PersistenceEntryManager getEntryManager()
        Specified by:
        getEntryManager in class org.gluu.service.metric.MetricService
      • getNodeIndetifier

        public java.lang.String getNodeIndetifier()
        Specified by:
        getNodeIndetifier in class org.gluu.service.metric.MetricService