Package nz.org.riskscape.engine
Interface Diagnostics
public interface Diagnostics
-
Method Summary
Modifier and TypeMethodDescriptioncom.codahale.metrics.CounterReturns the given counter, creating it if it didn't existorg.geotools.api.referencing.crs.CoordinateReferenceSystemReturns a CRS for displaying geographic coordinates in a user-friendly and consistent manner.com.codahale.metrics.MetricRegistryA place to register and query variousMetrics linked to theEnginevoidLogs a notification.voidSets 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 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
-