@SuppressWarnings("unchecked") @Override public Region<K, V> createSubregion(Region<?, ?> parent, String name) throws RegionExistsException { return ((InternalRegion) parent).createSubregion(name, createRegionAttributes()); }
@SuppressWarnings("unchecked") @Override public Region<K, V> create(String name) throws RegionExistsException { return getCache().basicCreateRegion(name, createRegionAttributes()); }