public NrqlAlertConditionCache nrqlAlertConditions ( long policyId ) { NrqlAlertConditionCache cache = nrqlConditions . get ( policyId ) ; if ( cache == null ) nrqlConditions . put ( policyId , cache = new NrqlAlertConditionCache ( policyId ) ) ; return cache ; }
Returns the cache of NRQL alert conditions for the given policy creating one if it doesn t exist .