public class AlertsEngineCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AlertsEngineCache.DataEntry |
| Constructor and Description |
|---|
AlertsEngineCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AlertsEngineCache.DataEntry dataEntry)
Register a new DataEntry (triggerId,conditionId,dataId)
|
void |
clear()
Clear all cache entries.
|
boolean |
isDataIdActive(String dataId)
Check if a specific dataId is active on this node
|
void |
remove(String tenantId,
String triggerId)
Remove all DataEntry for a specified trigger.
|
public boolean isDataIdActive(String dataId)
dataId - to check if it has triggers deployed on this nodepublic void add(AlertsEngineCache.DataEntry dataEntry)
dataEntry - to register on this nodepublic void remove(String tenantId, String triggerId)
triggerId - to removepublic void clear()
Copyright © 2015 Red Hat, Inc.. All rights reserved.