@Override public boolean isDestroyed() { // TODO prpersist - Added this if null check for the partitioned region // because we create the disk store for a bucket *before* in the constructor // for local region, which is before this final field is assigned. This is why // we shouldn't do some much work in the constructors! This is a temporary // hack until I move must of the constructor code to region.initialize. return isBucketDestroyed() || (this.partitionedRegion != null && this.partitionedRegion.isLocallyDestroyed && !isInDestroyingThread()); }
/** * Throw a ForceReattemptException if bucket has been moved out of this data store. */ private void checkIfBucketMoved(BucketRegion br) throws ForceReattemptException { if (br.isBucketDestroyed()) { this.partitionedRegion.checkReadiness(); throw new ForceReattemptException("bucket moved to other member during read op"); } }
} else { this.partitionedRegion.checkReadiness(); if (br.isBucketDestroyed()) { throw new ForceReattemptException("Bucket moved", rde); if (br.isBucketDestroyed()) { throw new ForceReattemptException("Bucket moved", rde);
} else { this.getPartitionedRegion().checkReadiness(); if (r.isBucketDestroyed()) {
} else { this.getPartitionedRegion().checkReadiness(); if (bucketRegion.isBucketDestroyed()) {
} else { this.getPartitionedRegion().checkReadiness(); if (bucketRegion.isBucketDestroyed()) {
if (bucketRegion.isBucketDestroyed()) { } else { this.getPartitionedRegion().checkReadiness(); if (bucketRegion.isBucketDestroyed()) {
if (map.isBucketDestroyed()) { failedBuckets.add(map.getId()); continue;
} else { this.getPartitionedRegion().checkReadiness(); if (r.isBucketDestroyed()) {
} else { this.getPartitionedRegion().checkReadiness(); if (bucketRegion.isBucketDestroyed()) {
return result; } catch (RegionDestroyedException rde) { if (bucketRegion.isBucketDestroyed()) {