if (alertConditionCategory == AlertConditionCategory.AVAILABILITY) {
AlertConditionAvailabilityCategoryComposite availabilityComposite = (AlertConditionAvailabilityCategoryComposite) composite;
try {
AvailabilityCacheElement cacheElement = new AvailabilityCacheElement(alertConditionOperator,
availabilityComposite.getAvailabilityType(), alertConditionId);
addTo("availabilityCache", availabilityCache, availabilityComposite.getResourceId(), cacheElement,
alertConditionId, stats);
} catch (InvalidCacheElementException icee) {
log.info("Failed to create AvailabilityCacheElement with parameters: "