133134135136137138139140141142143
cache.put(new Element(key, object)); return (List) object; } finally { cache.releaseWriteLockOnKey(key); } } private String cacheName(String key, String... cacheGroups) { if (cacheGroups != null && cacheGroups.length > 0) {
cache.put(new Element(key, object)); return (List) object; } finally { cache.releaseWriteLockOnKey(key); } } /** * @since 3.2
161162163164165166167168169170171
else { return list; } } finally { cache.releaseWriteLockOnKey(key); } } public void put(QueryMetadata metadata, List results) { String key = metadata.getCacheKey();
132133134135136137138139140141142