public abstract class TCAVESAlertsPersister extends Object
Constructor and Description |
---|
TCAVESAlertsPersister() |
Modifier and Type | Method and Description |
---|---|
static String |
createRowKey(Date date)
Creates Row Key for Alerts Table
|
static co.cask.cdap.api.dataset.DatasetProperties |
getDatasetProperties(int timeToLiveSeconds)
Creates
DatasetProperties for Alerts Table |
static void |
persist(String alertMessage,
co.cask.cdap.api.dataset.lib.ObjectMappedTable<TCAVESAlertEntity> tcaVESAlertTable)
Persists Alert Message to Alerts Table
|
public static void persist(String alertMessage, co.cask.cdap.api.dataset.lib.ObjectMappedTable<TCAVESAlertEntity> tcaVESAlertTable)
alertMessage
- alert MessagetcaVESAlertTable
- alert Table Namepublic static co.cask.cdap.api.dataset.DatasetProperties getDatasetProperties(int timeToLiveSeconds)
DatasetProperties
for Alerts TabletimeToLiveSeconds
- alerts table Time to LiveCopyright © 2017. All rights reserved.