ISPN-3182 Make the AbstractDelegatingAdvancedCache use flags in the getCacheEntry(key) invocation