}
} else if (alertConditionCategory == AlertConditionCategory.AVAIL_DURATION) {
AlertConditionAvailabilityCategoryComposite availabilityComposite = (AlertConditionAvailabilityCategoryComposite) composite;
try {
AvailabilityDurationCacheElement cacheElement = new AvailabilityDurationCacheElement(
availabilityComposite.getAlertDefinitionId(), alertConditionOperator, alertCondition.getOption(),
availabilityComposite.getAvailabilityType(), alertConditionId);
addTo("availabilityDurationCache", availabilityDurationCache, availabilityComposite.getResourceId(),
cacheElement, alertConditionId, stats);
} catch (InvalidCacheElementException icee) {