| Package | Description |
|---|---|
| com.igormaznitsa.meta.common.utils |
| Modifier and Type | Field and Description |
|---|---|
static TimeGuard.TimeAlertListener |
TimeGuard.NULL_TIME_ALERT_LISTENER
Some variant of "null-device" for time alerts, it does absolutely nothing.
|
| Modifier and Type | Method and Description |
|---|---|
TimeGuard.TimeAlertListener |
TimeGuard.TimeData.getAlertListener()
Get alert listener if provided
|
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
| Constructor and Description |
|---|
TimeData(int stackDepth,
String alertMessage,
long maxAllowedDelayInMilliseconds,
TimeGuard.TimeAlertListener violationListener)
The Constructor
|
Copyright © 2011–2022 Igor Maznitsa. All rights reserved.