Uses of Interface
com.igormaznitsa.meta.common.utils.TimeGuard.TimeAlertListener
Packages that use TimeGuard.TimeAlertListener
-
Uses of TimeGuard.TimeAlertListener in com.igormaznitsa.meta.common.utils
Fields in com.igormaznitsa.meta.common.utils declared as TimeGuard.TimeAlertListenerModifier and TypeFieldDescriptionprivate final TimeGuard.TimeAlertListener
TimeGuard.TimeData.alertListener
Some provided processor to be called for alert.static final TimeGuard.TimeAlertListener
TimeGuard.NULL_TIME_ALERT_LISTENER
Some variant of "null-device" for time alerts, it does absolutely nothing.Methods in com.igormaznitsa.meta.common.utils that return TimeGuard.TimeAlertListenerModifier and TypeMethodDescriptionTimeGuard.TimeData.getAlertListener()
Get alert listener if providedMethods in com.igormaznitsa.meta.common.utils with parameters of type TimeGuard.TimeAlertListenerModifier and TypeMethodDescriptionstatic void
TimeGuard.addGuard
(String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener) Add a time watcher and provide processor of time violation.static void
TimeGuard.addPoint
(String timePointName, TimeGuard.TimeAlertListener listener) Add a named time point.Constructors in com.igormaznitsa.meta.common.utils with parameters of type TimeGuard.TimeAlertListenerModifierConstructorDescriptionTimeData
(int stackDepth, String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener violationListener) The Constructor