/** * Affirms if the given type is eligible for cache. */ public boolean isCachable(ClassMetaData meta) { Boolean res = _cacheable.get(meta); if(res != null){ return res; } Boolean isCachable = isCacheableByMode(meta); if (isCachable == null) { isCachable = isCacheableByType(meta); } _cacheable.put(meta, isCachable); return isCachable; }
/** * Affirms if the given type is eligible for cache. */ public boolean isCachable(ClassMetaData meta) { Boolean res = _cacheable.get(meta); if(res != null){ return res; } Boolean isCachable = isCacheableByMode(meta); if (isCachable == null) { isCachable = isCacheableByType(meta); } _cacheable.put(meta, isCachable); return isCachable; }
/** * Affirms if the given type is eligible for cache. */ public boolean isCachable(ClassMetaData meta) { Boolean res = _cacheable.get(meta); if(res != null){ return res; } Boolean isCachable = isCacheableByMode(meta); if (isCachable == null) { isCachable = isCacheableByType(meta); } _cacheable.put(meta, isCachable); return isCachable; }
/** * Affirms if the given type is eligible for cache. */ public boolean isCachable(ClassMetaData meta) { Boolean res = _cacheable.get(meta); if(res != null){ return res; } Boolean isCachable = isCacheableByMode(meta); if (isCachable == null) { isCachable = isCacheableByType(meta); } _cacheable.put(meta, isCachable); return isCachable; }