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