Interface Diagnostics


public interface Diagnostics
  • Method Summary

    Modifier and Type
    Method
    Description
    com.codahale.metrics.Counter
    Returns the given counter, creating it if it didn't exist
    org.geotools.api.referencing.crs.CoordinateReferenceSystem
    Returns a CRS for displaying geographic coordinates in a user-friendly and consistent manner.
    com.codahale.metrics.MetricRegistry
    A place to register and query various Metrics linked to the Engine
    void
    log(Problem notification)
    Logs a notification.
    void
    mirror(com.codahale.metrics.MetricRegistry childRegistry, String addPrefix)
    Mirrors the metrics in the given registry in our own MetricRegistry.
    void
    Sets a sink to display diagnostic messages that we want the user to see.
  • Method Details

    • getMetricRegistry

      com.codahale.metrics.MetricRegistry getMetricRegistry()

      A place to register and query various Metrics linked to the Engine

    • getDisplayCrs

      org.geotools.api.referencing.crs.CoordinateReferenceSystem getDisplayCrs()

      Returns a CRS for displaying geographic coordinates in a user-friendly and consistent manner.

    • setNotificationSink

      void setNotificationSink(ProblemSink sink)

      Sets a sink to display diagnostic messages that we want the user to see.

    • log

      void log(Problem notification)

      Logs a notification. This is something the user will always see, so we should be careful not to pollute the output with anything that's not directly relevant to the operation the user is currently doing.

    • counter

      com.codahale.metrics.Counter counter(String name)

      Returns the given counter, creating it if it didn't exist

    • mirror

      void mirror(com.codahale.metrics.MetricRegistry childRegistry, String addPrefix)

      Mirrors the metrics in the given registry in our own MetricRegistry.