Package nz.org.riskscape.engine
Interface Diagnostics
public interface Diagnostics
-
Method Summary
Modifier and TypeMethodDescriptioncom.codahale.metrics.Counter
Returns the given counter, creating it if it didn't existorg.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 variousMetric
s linked to theEngine
void
Logs a notification.void
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
Metric
s linked to theEngine
-
getDisplayCrs
org.geotools.api.referencing.crs.CoordinateReferenceSystem getDisplayCrs()Returns a CRS for displaying geographic coordinates in a user-friendly and consistent manner.
-
setNotificationSink
Sets a sink to display diagnostic messages that we want the user to see.
-
log
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
Returns the given counter, creating it if it didn't exist
-
mirror
Mirrors the metrics in the given registry in our own MetricRegistry.
-