public abstract class AbstractAlertsCheckingService extends Object implements AlertsCheckingService
AlertsCheckingService
interface.BEAN
Constructor and Description |
---|
AbstractAlertsCheckingService() |
Modifier and Type | Method and Description |
---|---|
void |
checkAlerts()
Checks alerts' conditions and if any alert exceeds specified limit then notification is invoked.
|
protected abstract long |
getCount(AlertInfo alert)
Gets actual count of specified alert.
|
public final void checkAlerts()
AlertsCheckingService
checkAlerts
in interface AlertsCheckingService
protected abstract long getCount(AlertInfo alert)
alert
- the alert infoCopyright © 2018 Pivotal Software, Inc.. All rights reserved.