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.MetricService
Store and retrieve metric
- Author:
- Yuriy Movchan Date: 01/15/2021
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseDn()
org.gluu.model.ApplicationType
org.gluu.persist.PersistenceEntryManager
org.gluu.service.metric.MetricService
boolean
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 Details
-
METRIC_SERVICE_COMPONENT_NAME
- See Also:
-
-
Constructor Details
-
MetricService
public MetricService()
-
-
Method Details
-
baseDn
- Specified by:
baseDn
in classorg.gluu.service.metric.MetricService
-
getApplicationType
public org.gluu.model.ApplicationType getApplicationType()- Specified by:
getApplicationType
in classorg.gluu.service.metric.MetricService
-
getEntryManager
public org.gluu.persist.PersistenceEntryManager getEntryManager()- Specified by:
getEntryManager
in classorg.gluu.service.metric.MetricService
-
getMetricServiceInstance
public org.gluu.service.metric.MetricService getMetricServiceInstance()- Specified by:
getMetricServiceInstance
in classorg.gluu.service.metric.MetricService
-
getNodeIndetifier
- Specified by:
getNodeIndetifier
in classorg.gluu.service.metric.MetricService
-
isMetricReporterEnabled
public boolean isMetricReporterEnabled()- Specified by:
isMetricReporterEnabled
in classorg.gluu.service.metric.MetricService
-