public Set fetchAllLocalKeys(Integer id, Set<Integer> failures, String regex) { Set result = new HashSet(); try { Set keys = null; if (regex != null) { keys = this.dataStore.handleRemoteGetKeys(id, InterestType.REGULAR_EXPRESSION, regex, true); } else { keys = this.dataStore.getKeysLocally(id, true); } result.addAll(keys); } catch (ForceReattemptException ignore) { failures.add(id); } catch (PRLocallyDestroyedException ignore) { failures.add(id); } return result; }
try { Set keys = ds.handleRemoteGetKeys(this.bucketId, interestType, interestArg, allowTombstones); if (logger.isTraceEnabled(LogMarker.DM_VERBOSE)) { logger.trace(LogMarker.DM_VERBOSE,
if (member != null) { if (member.equals(partitionedRegion.getMyId())) { someKeys = partitionedRegion.getDataStore().handleRemoteGetKeys(bucketId, InterestType.REGULAR_EXPRESSION, ".*", false); } else {
if (bucketNode != null) { if (bucketNode.equals(getMyId())) { bucketSet = this.dataStore.handleRemoteGetKeys(lbucket, interestType, interestArg, allowTombstones); } else {