Package org.apache.wicket.metrics
Class WicketMetricsSettings
- java.lang.Object
-
- org.apache.wicket.metrics.WicketMetricsSettings
-
public class WicketMetricsSettings extends Object
Settings to configure wicket metrics- Author:
- Tobias Soloschenko
-
-
Constructor Summary
Constructors Constructor Description WicketMetricsSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix()
Gets the prefix.boolean
isEnabled()
If the wicket metrics are enabledvoid
setEnabled(boolean enabled)
If the metrics should be enabledvoid
setPrefix(String prefix)
Sets the prefix to be used for the statisticsvoid
startJmxReporter()
Starts the jmx reportervoid
stopJmxReporter()
Stops the jmx reporter
-
-
-
Constructor Detail
-
WicketMetricsSettings
public WicketMetricsSettings()
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean enabled)
If the metrics should be enabled- Parameters:
enabled
- if the metrics should be enabled
-
isEnabled
public boolean isEnabled()
If the wicket metrics are enabled- Returns:
- if the wicket metrics are enabled
-
setPrefix
public void setPrefix(String prefix)
Sets the prefix to be used for the statistics- Parameters:
prefix
- the prefix to be used
-
startJmxReporter
public void startJmxReporter()
Starts the jmx reporter
-
stopJmxReporter
public void stopJmxReporter()
Stops the jmx reporter
-
-