Class WicketMetricsSettings

java.lang.Object
org.apache.wicket.metrics.WicketMetricsSettings

public class WicketMetricsSettings extends Object
Settings to configure wicket metrics
Author:
Tobias Soloschenko
  • Constructor Details

  • Method Details

    • 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
    • getPrefix

      public String getPrefix()
      Gets the prefix.
      Returns:
      the prefix
    • 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