Package net.shibboleth.idp.metrics.impl
Class IdPGaugeSet
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
net.shibboleth.idp.metrics.impl.IdPGaugeSet
- All Implemented Interfaces:
com.codahale.metrics.Metric
,com.codahale.metrics.MetricFilter
,com.codahale.metrics.MetricSet
,Aware
,ApplicationContextAware
public class IdPGaugeSet
extends ApplicationObjectSupport
implements com.codahale.metrics.MetricSet, com.codahale.metrics.MetricFilter
A set of gauges for core system information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
Default prefix for metrics.The map of gauges.Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
Fields inherited from interface com.codahale.metrics.MetricFilter
ALL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setExposedProperties
(Set<String> properties) Set the names of properties to expose as metrics.Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext
-
Field Details
-
DEFAULT_METRIC_NAME
Default prefix for metrics.- See Also:
-
gauges
The map of gauges.
-
-
Constructor Details
-
IdPGaugeSet
public IdPGaugeSet()Constructor.
-
-
Method Details
-
setExposedProperties
Set the names of properties to expose as metrics.- Parameters:
properties
- properties to expose
-
getMetrics
- Specified by:
getMetrics
in interfacecom.codahale.metrics.MetricSet
-
matches
- Specified by:
matches
in interfacecom.codahale.metrics.MetricFilter
-