Package org.gluu.oxauth.service
Class MetricService
- java.lang.Object
-
- org.gluu.service.metric.MetricService
-
- org.gluu.oxauth.service.MetricService
-
- All Implemented Interfaces:
java.io.Serializable
@ApplicationScoped @Named("metricService") public class MetricService extends org.gluu.service.metric.MetricService
Store and retrieve metric- Author:
- Yuriy Movchan Date: 07/30/2015
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METRIC_SERVICE_COMPONENT_NAME
-
Constructor Summary
Constructors Constructor Description MetricService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
baseDn()
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
-
-
-
-
Field Detail
-
METRIC_SERVICE_COMPONENT_NAME
public static final java.lang.String METRIC_SERVICE_COMPONENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
initTimer
public void initTimer()
-
baseDn
public java.lang.String baseDn()
- Specified by:
baseDn
in classorg.gluu.service.metric.MetricService
-
getMetricServiceInstance
public org.gluu.service.metric.MetricService getMetricServiceInstance()
- Specified by:
getMetricServiceInstance
in classorg.gluu.service.metric.MetricService
-
isMetricReporterEnabled
public boolean isMetricReporterEnabled()
- Specified by:
isMetricReporterEnabled
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
-
getNodeIndetifier
public java.lang.String getNodeIndetifier()
- Specified by:
getNodeIndetifier
in classorg.gluu.service.metric.MetricService
-
-