Package org.gluu.oxtrust.service.metric
Class MetricService
- java.lang.Object
-
- org.gluu.service.metric.MetricService
-
- org.gluu.oxtrust.service.metric.MetricService
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped @Named("metricService") public class MetricService extends org.gluu.service.metric.MetricServiceStore and retrieve metric- Author:
- Yuriy Movchan Date: 01/15/2021
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETRIC_SERVICE_COMPONENT_NAME
-
Constructor Summary
Constructors Constructor Description MetricService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseDn()org.gluu.model.ApplicationTypegetApplicationType()org.gluu.persist.PersistenceEntryManagergetEntryManager()org.gluu.service.metric.MetricServicegetMetricServiceInstance()StringgetNodeIndetifier()booleanisMetricReporterEnabled()-
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
-
-
-
-
Field Detail
-
METRIC_SERVICE_COMPONENT_NAME
public static final String METRIC_SERVICE_COMPONENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
baseDn
public String baseDn()
- Specified by:
baseDnin classorg.gluu.service.metric.MetricService
-
getApplicationType
public org.gluu.model.ApplicationType getApplicationType()
- Specified by:
getApplicationTypein classorg.gluu.service.metric.MetricService
-
getEntryManager
public org.gluu.persist.PersistenceEntryManager getEntryManager()
- Specified by:
getEntryManagerin classorg.gluu.service.metric.MetricService
-
getMetricServiceInstance
public org.gluu.service.metric.MetricService getMetricServiceInstance()
- Specified by:
getMetricServiceInstancein classorg.gluu.service.metric.MetricService
-
getNodeIndetifier
public String getNodeIndetifier()
- Specified by:
getNodeIndetifierin classorg.gluu.service.metric.MetricService
-
isMetricReporterEnabled
public boolean isMetricReporterEnabled()
- Specified by:
isMetricReporterEnabledin classorg.gluu.service.metric.MetricService
-
-