public DataCache getPartition(String name, boolean create) { if (_cache == null) return null; try { return _cache.getPartition(name, create); } catch (RuntimeException re) { throw translate(re); } }
public DataCache getPartition(String name, boolean create) { if (_cache == null) return null; try { return _cache.getPartition(name, create); } catch (RuntimeException re) { throw translate(re); } }
public DataCache getPartition(String name, boolean create) { if (_cache == null) return null; try { return _cache.getPartition(name, create); } catch (RuntimeException re) { throw translate(re); } }
public DataCache getPartition(String name, boolean create) { if (_cache == null) return null; try { return _cache.getPartition(name, create); } catch (RuntimeException re) { throw translate(re); } }
/** * Returns the named cache. * If the given name is name or the name of the cache plugin then returns the main cache. * Otherwise, {@linkplain DataCache#getPartition(String, boolean) delegates} to the main cache * to obtain a partition. */ public DataCache getDataCache(String name, boolean create) { if (name == null || (_cache != null && name.equals(_cache.getName()))) return _cache; if (_cache != null) return _cache.getPartition(name, create); return null; }
/** * Returns the named cache. * If the given name is name or the name of the cache plugin then returns the main cache. * Otherwise, {@linkplain DataCache#getPartition(String, boolean) delegates} to the main cache * to obtain a partition. */ public DataCache getDataCache(String name, boolean create) { if (name == null || (_cache != null && name.equals(_cache.getName()))) return _cache; if (_cache != null) return _cache.getPartition(name, create); return null; }
/** * Returns the named cache. * If the given name is name or the name of the cache plugin then returns the main cache. * Otherwise, {@linkplain DataCache#getPartition(String, boolean) delegates} to the main cache * to obtain a partition. */ public DataCache getDataCache(String name, boolean create) { if (name == null || (_cache != null && name.equals(_cache.getName()))) return _cache; if (_cache != null) return _cache.getPartition(name, create); return null; }
/** * Returns the named cache. * If the given name is name or the name of the cache plugin then returns the main cache. * Otherwise, {@linkplain DataCache#getPartition(String, boolean) delegates} to the main cache * to obtain a partition. */ public DataCache getDataCache(String name, boolean create) { if (name == null || (_cache != null && name.equals(_cache.getName()))) return _cache; if (_cache != null) return _cache.getPartition(name, create); return null; }