public Region createRegion(String name, String refid) throws RegionExistsException, TimeoutException { RegionCreation region = new RegionCreation(this, name, refid); this.addRootRegion(region); return region; }
/** * When a <code>region</code> element is first encountered, we create a * {@link RegionCreation}and push it on the stack. */ private void startRegion(Attributes atts) { String name = atts.getValue(NAME); String refid = atts.getValue(REFID); Assert.assertTrue(name != null); RegionCreation region = new RegionCreation(this.cache, name, refid); stack.push(region); }
/** * When a <code>region</code> element is first encountered, we create a * {@link RegionCreation}and push it on the stack. */ private void startRegion(Attributes atts) { String name = atts.getValue(NAME); String refid = atts.getValue(REFID); Assert.assertTrue(name != null); RegionCreation region = new RegionCreation(this.cache, name, refid); stack.push(region); }
public Region createRegion(String name, String refid) throws RegionExistsException, TimeoutException { RegionCreation region = new RegionCreation(this, name, refid); this.addRootRegion(region); return region; }
public Region createSubregion(String subregionName, RegionAttributes attrs) throws RegionExistsException, TimeoutException { RegionCreation subregion = new RegionCreation(this.cache, this, subregionName, null); subregion.setAttributes(attrs); this.addSubregion(subregionName, subregion); return subregion; }
public Region createSubregion(String subregionName, RegionAttributes attrs) throws RegionExistsException, TimeoutException { RegionCreation subregion = new RegionCreation(this.cache, this, subregionName, null); subregion.setAttributes(attrs); this.addSubregion(subregionName, subregion); return subregion; }
public Region createRegion(String name, RegionAttributes attrs) throws RegionExistsException, TimeoutException { if (attrs instanceof RegionAttributesCreation) { ((RegionAttributesCreation) attrs).inheritAttributes(this); ((RegionAttributesCreation) attrs).prepareForValidation(); } AttributesFactory.validateAttributes(attrs); RegionCreation region = new RegionCreation(this, name, null); region.setAttributes(attrs); this.addRootRegion(region); return region; } public Region createRegion(String name, String refid) throws RegionExistsException, TimeoutException {
public Region createRegion(String name, RegionAttributes attrs) throws RegionExistsException, TimeoutException { if (attrs instanceof RegionAttributesCreation) { ((RegionAttributesCreation) attrs).inheritAttributes(this); ((RegionAttributesCreation) attrs).prepareForValidation(); } AttributesFactory.validateAttributes(attrs); RegionCreation region = new RegionCreation(this, name, null); region.setAttributes(attrs); this.addRootRegion(region); return region; } public Region createRegion(String name, String refid) throws RegionExistsException, TimeoutException {