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