Class DefaultDiagnostics

java.lang.Object
nz.org.riskscape.engine.DefaultDiagnostics
All Implemented Interfaces:
nz.org.riskscape.engine.Diagnostics

public class DefaultDiagnostics extends Object implements nz.org.riskscape.engine.Diagnostics
  • Constructor Details

    • DefaultDiagnostics

      public DefaultDiagnostics()
  • Method Details

    • counter

      public com.codahale.metrics.Counter counter(String name)
      Specified by:
      counter in interface nz.org.riskscape.engine.Diagnostics
    • mirror

      public void mirror(com.codahale.metrics.MetricRegistry childRegistry, String addPrefix)
      Specified by:
      mirror in interface nz.org.riskscape.engine.Diagnostics
    • log

      public void log(nz.org.riskscape.problem.Problem notification)
      Specified by:
      log in interface nz.org.riskscape.engine.Diagnostics
    • getMetricRegistry

      public com.codahale.metrics.MetricRegistry getMetricRegistry()
      Specified by:
      getMetricRegistry in interface nz.org.riskscape.engine.Diagnostics
    • setNotificationSink

      public void setNotificationSink(nz.org.riskscape.problem.ProblemSink notificationSink)
      Specified by:
      setNotificationSink in interface nz.org.riskscape.engine.Diagnostics
    • getDisplayCrs

      public org.geotools.api.referencing.crs.CoordinateReferenceSystem getDisplayCrs()
      Specified by:
      getDisplayCrs in interface nz.org.riskscape.engine.Diagnostics