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