Package io.jans.fido2.service.shared
Class MetricService
- java.lang.Object
-
- io.jans.service.metric.MetricService
-
- io.jans.fido2.service.shared.MetricService
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped @Named("metricService") public class MetricService extends io.jans.service.metric.MetricService
Store and retrieve metric- Author:
- Yuriy Movchan Date: 05/13/2020
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
METRIC_SERVICE_COMPONENT_NAME
-
Constructor Summary
Constructors Constructor Description MetricService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
baseDn()
io.jans.model.ApplicationType
getApplicationType()
io.jans.orm.PersistenceEntryManager
getEntryManager()
io.jans.service.metric.MetricService
getMetricServiceInstance()
String
getNodeIndetifier()
void
initTimer()
boolean
isMetricReporterEnabled()
-
Methods inherited from class io.jans.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
-
initTimer
public void initTimer()
-
baseDn
public String baseDn()
- Specified by:
baseDn
in classio.jans.service.metric.MetricService
-
getMetricServiceInstance
public io.jans.service.metric.MetricService getMetricServiceInstance()
- Specified by:
getMetricServiceInstance
in classio.jans.service.metric.MetricService
-
isMetricReporterEnabled
public boolean isMetricReporterEnabled()
- Specified by:
isMetricReporterEnabled
in classio.jans.service.metric.MetricService
-
getApplicationType
public io.jans.model.ApplicationType getApplicationType()
- Specified by:
getApplicationType
in classio.jans.service.metric.MetricService
-
getEntryManager
public io.jans.orm.PersistenceEntryManager getEntryManager()
- Specified by:
getEntryManager
in classio.jans.service.metric.MetricService
-
getNodeIndetifier
public String getNodeIndetifier()
- Specified by:
getNodeIndetifier
in classio.jans.service.metric.MetricService
-
-