public interface CrestMetricsEndpointCfg extends HttpEndpointCfg
The Common REST Metrics HTTP Endpoint provides access to OpenDJ's monitoring information via the Common REST protocol.
Modifier and Type | Method and Description |
---|---|
void |
addCrestMetricsEndpointChangeListener(ConfigurationChangeListener<CrestMetricsEndpointCfg> listener)
Register to be notified when this Common REST Metrics HTTP Endpoint is changed.
|
Class<? extends CrestMetricsEndpointCfg> |
configurationClass()
Gets the configuration class associated with this Common REST Metrics HTTP Endpoint.
|
SortedSet<String> |
getExcludedMetricPattern()
Gets the "excluded-metric-pattern" property.
|
SortedSet<String> |
getIncludedMetricPattern()
Gets the "included-metric-pattern" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
removeCrestMetricsEndpointChangeListener(ConfigurationChangeListener<CrestMetricsEndpointCfg> listener)
Deregister an existing Common REST Metrics HTTP Endpoint configuration change listener.
|
addChangeListener, getAuthorizationMechanism, getAuthorizationMechanismDns, getBasePath, isEnabled, removeChangeListener
dn, name
Class<? extends CrestMetricsEndpointCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface HttpEndpointCfg
void addCrestMetricsEndpointChangeListener(ConfigurationChangeListener<CrestMetricsEndpointCfg> listener)
listener
- The Common REST Metrics HTTP Endpoint configuration change listener.void removeCrestMetricsEndpointChangeListener(ConfigurationChangeListener<CrestMetricsEndpointCfg> listener)
listener
- The Common REST Metrics HTTP Endpoint configuration change listener.SortedSet<String> getExcludedMetricPattern()
Zero or more regular expressions identifying metrics that should not be published to the Graphite server. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
SortedSet<String> getIncludedMetricPattern()
Zero or more regular expressions identifying metrics that should be published to the Graphite server. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Common REST Metrics HTTP Endpoint implementation.
getJavaClass
in interface HttpEndpointCfg
Copyright 2010-2018 ForgeRock AS.