Package org.apache.bookkeeper.stats
Class AlertStatsLogger
- java.lang.Object
-
- org.apache.bookkeeper.stats.AlertStatsLogger
-
public class AlertStatsLogger extends java.lang.Object
This class is used to raise alert when we detect an event that should never happen in production.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
alertStatName
-
Constructor Summary
Constructors Constructor Description AlertStatsLogger(StatsLogger globalStatsLogger, java.lang.String alertStatName)
AlertStatsLogger(StatsLogger globalStatsLogger, java.lang.String scope, java.lang.String alertStatName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
raise(java.lang.String msg, java.lang.Object... args)
Report an alertable condition".
-
-
-
Constructor Detail
-
AlertStatsLogger
public AlertStatsLogger(StatsLogger globalStatsLogger, java.lang.String scope, java.lang.String alertStatName)
-
AlertStatsLogger
public AlertStatsLogger(StatsLogger globalStatsLogger, java.lang.String alertStatName)
-
-