try { this.region = gemCache.createVMRegion(this.regionName, ra, new InternalRegionArguments().setInternalMetaRegion(meta).setDestroyLockFlag(true) .setSnapshotInputStream(null).setImageTarget(null) .setIsUsedForSerialGatewaySenderQueue(true).setInternalRegion(true)
/** * * Returns an instance of HARegion after it has properly initialized * * @param regionName name of the region to be created * @param cache the cache that owns this region * @param ra attributes of the region * @return an instance of an HARegion * @throws RegionExistsException if a region of the same name exists in the same Cache */ public static HARegion getInstance(String regionName, InternalCache cache, HARegionQueue hrq, RegionAttributes ra) throws TimeoutException, RegionExistsException, IOException, ClassNotFoundException { HARegion haRegion = new HARegion(regionName, ra, null, cache); haRegion.setOwner(hrq); Region region = cache.createVMRegion(regionName, ra, new InternalRegionArguments().setInternalMetaRegion(haRegion).setDestroyLockFlag(true) .setSnapshotInputStream(null).setInternalRegion(true).setImageTarget(null)); return (HARegion) region; }
new InternalRegionArguments().setInternalMetaRegion(meta).setDestroyLockFlag(true) .setSnapshotInputStream(null).setImageTarget(null));
new InternalRegionArguments().setInternalMetaRegion(meta).setDestroyLockFlag(true) .setInternalRegion(true).setSnapshotInputStream(null).setImageTarget(null));
ira.setInternalMetaRegion(new LocalMetaRegion(af.create(), ira)); } else { af.setScope(Scope.DISTRIBUTED_ACK); af.addGatewaySenderId(gs.getId()); ira.setInternalMetaRegion(new DistributedMetaRegion(af.create())); // bug fix 35432