Interface CrestMetricsEndpointCfgClient
-
- All Superinterfaces:
ConfigurationClient
,HttpEndpointCfgClient
public interface CrestMetricsEndpointCfgClient extends HttpEndpointCfgClient
A client-side interface for reading and modifying Common REST Metrics HTTP Endpoint settings.The Common REST Metrics HTTP Endpoint provides access to OpenDJ's monitoring information via the Common REST protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends CrestMetricsEndpointCfgClient,? extends CrestMetricsEndpointCfg>
definition()
Get the configuration definition associated with this Common REST Metrics HTTP Endpoint.SortedSet<ValueOrExpression<String>>
getExcludedMetricPattern()
Gets the "excluded-metric-pattern" property.SortedSet<ValueOrExpression<String>>
getIncludedMetricPattern()
Gets the "included-metric-pattern" property.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.void
setExcludedMetricPattern(Collection<ValueOrExpression<String>> values)
Sets the "excluded-metric-pattern" property.void
setIncludedMetricPattern(Collection<ValueOrExpression<String>> values)
Sets the "included-metric-pattern" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.HttpEndpointCfgClient
getAuthorizationMechanism, getBasePath, isEnabled, setAuthorizationMechanism, setBasePath, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends CrestMetricsEndpointCfgClient,? extends CrestMetricsEndpointCfg> definition()
Get the configuration definition associated with this Common REST Metrics HTTP Endpoint.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceHttpEndpointCfgClient
- Returns:
- Returns the configuration definition associated with this Common REST Metrics HTTP Endpoint.
-
getExcludedMetricPattern
SortedSet<ValueOrExpression<String>> getExcludedMetricPattern()
Gets the "excluded-metric-pattern" property.Zero or more regular expressions identifying metrics that should not be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
Default value is undefined
- Returns:
- Returns the values of the "excluded-metric-pattern" property.
-
setExcludedMetricPattern
void setExcludedMetricPattern(Collection<ValueOrExpression<String>> values) throws PropertyException
Sets the "excluded-metric-pattern" property.Zero or more regular expressions identifying metrics that should not be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
- Parameters:
values
- The values of the "excluded-metric-pattern" property.- Throws:
PropertyException
- If one or more of the new values are invalid.
-
getIncludedMetricPattern
SortedSet<ValueOrExpression<String>> getIncludedMetricPattern()
Gets the "included-metric-pattern" property.Zero or more regular expressions identifying metrics that should be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
Default value is undefined
- Returns:
- Returns the values of the "included-metric-pattern" property.
-
setIncludedMetricPattern
void setIncludedMetricPattern(Collection<ValueOrExpression<String>> values) throws PropertyException
Sets the "included-metric-pattern" property.Zero or more regular expressions identifying metrics that should be published. The metric name prefix must not be included in the filter. Exclusion patterns take precedence over inclusion patterns.
- Parameters:
values
- The values of the "included-metric-pattern" property.- Throws:
PropertyException
- If one or more of the new values are invalid.
-
getJavaClass
@MandatoryProperty ValueOrExpression<String> getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Common REST Metrics HTTP Endpoint implementation.
Default value:
org.opends.server.protocols.http.CrestMetricsEndpoint
- Specified by:
getJavaClass
in interfaceHttpEndpointCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Common REST Metrics HTTP Endpoint implementation.
- Specified by:
setJavaClass
in interfaceHttpEndpointCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
-