/** * Creates a new <code>RegionCreation</code> with the given name and * with the default <code>RegionAttributes</code>. */ public RegionCreation(CacheCreation cache, RegionCreation parent, String name, String refid) { this.cache = cache; if (parent != null) { this.fullPath = parent.getFullPath() + SEPARATOR + name; } else { this.fullPath = SEPARATOR + name; } this.name = name; this.refid = refid; this.attrs = new RegionAttributesCreation(this.cache); if (refid != null) { this.attrs.setRefid(refid); this.attrs.inheritAttributes(cache); } }
/** * Creates a new <code>RegionCreation</code> with the given name and * with the default <code>RegionAttributes</code>. */ public RegionCreation(CacheCreation cache, RegionCreation parent, String name, String refid) { this.cache = cache; if (parent != null) { this.fullPath = parent.getFullPath() + SEPARATOR + name; } else { this.fullPath = SEPARATOR + name; } this.name = name; this.refid = refid; this.attrs = new RegionAttributesCreation(this.cache); if (refid != null) { this.attrs.setRefid(refid); this.attrs.inheritAttributes(cache); } }
attrs.setRefid(refid);
attrs.setRefid(refid);
this.attrs.setRefid(getRefid());
this.attrs.setRefid(getRefid());
creation.setRegionAttributes(attrs.getId(), attrs); attrs = new RegionAttributesCreation(creation); attrs.setRefid(attrId); creation.createRegion(r3, attrs);