/** {@inheritDoc} */ @Override public void afterPropertiesSet() throws Exception { super.afterPropertiesSet(); metaCache = grid.utilityCache(MetaKey.class, Cache.class); dataCache = grid.cache(dataCacheName); }
/** {@inheritDoc} */ @Override public Cache getCache(String name) { assert grid != null; try { return new GridSpringCache(grid.log().getLogger(getClass()), name, grid.cache(name), null); } catch (IllegalArgumentException ignored) { return null; } }