Class BoundaryExceptionHandler
java.lang.Object
com.loomcache.server.observability.BoundaryExceptionHandler
Shared handling for exceptions that are intentionally contained at subsystem boundaries.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic longcountForTesting(String boundary) static voiderror(org.slf4j.Logger logger, String boundary, Throwable failure, String message, Object... arguments) static voidstatic voidstatic voidrethrowIfFatal(Throwable failure) static voidwarn(org.slf4j.Logger logger, String boundary, Throwable failure, String message, Object... arguments)
-
Field Details
-
METRIC_NAME
- See Also:
-
-
Method Details
-
configure
public static void configure(io.micrometer.core.instrument.MeterRegistry meterRegistry, String nodeId) -
record
-
warn
-
error
-
rethrowIfFatal
-
countForTesting
-
resetForTesting
public static void resetForTesting()
-