@Override public boolean include(Profile profile) { assert profile instanceof CacheProfile; CacheProfile cp = (CacheProfile) profile; if (cp.dataPolicy.withPreloaded()) { return true; } return false; } });
assumeThat(getRegionAttributes().getDataPolicy().withPreloaded()).isFalse();
&& (rgn.getDataPolicy().withReplication() || rgn.getDataPolicy().withPreloaded())) { if (logger.isTraceEnabled()) { logger.trace(LogMarker.DM_BRIDGE_SERVER_VERBOSE,
assumeThat(getRegionAttributes().getDataPolicy().withPreloaded()).isFalse(); assumeThat(getRegionAttributes().getPartitionAttributes()) .withFailMessage("the region has partition attributes").isNull();
if (getDataPolicy().withReplication() || getDataPolicy().withPreloaded()) { getInitialImageAndRecovery(snapshotInputStream, imageTarget, internalRegionArgs, recoverFromDisk, persistentMemberId);
|| this.getAttributes().getDataPolicy().withPreloaded()) {
String errMsg = null; if (dp.withPreloaded() && cqBaseRegion.getAttributes().getEvictionAttributes() != null && cqBaseRegion.getAttributes().getEvictionAttributes().getAction() .equals(EvictionAction.LOCAL_DESTROY)) {
advice = targetProvider.getInitialImageAdvice(advice); boolean attemptGetFromOne = imageSrc != null // we were given a specific member || this.getDataPolicy().withPreloaded() && !advice.preloaded.isEmpty() // this is a
vm.invoke(create); if (!getRegionAttributes().getDataPolicy().withReplication() && !getRegionAttributes().getDataPolicy().withPreloaded()) { vm.invoke(newKey);
vm1.invoke(create3); if (!getRegionAttributes().getDataPolicy().withReplication() && !getRegionAttributes().getDataPolicy().withPreloaded()) { vm1.invoke(newKey1); vm1.invoke(newKey3); vm3.invoke(create3); if (!getRegionAttributes().getDataPolicy().withReplication() && !getRegionAttributes().getDataPolicy().withPreloaded()) { vm3.invoke(newKey2); vm3.invoke(newKey3); vm1.invoke(create3); if (!getRegionAttributes().getDataPolicy().withReplication() && !getRegionAttributes().getDataPolicy().withPreloaded()) { vm1.invoke(newKey1); vm1.invoke(newKey3); vm2.invoke(create3); if (!getRegionAttributes().getDataPolicy().withReplication() && !getRegionAttributes().getDataPolicy().withPreloaded()) { vm2.invoke(newKey3); vm3.invoke(create3); if (!getRegionAttributes().getDataPolicy().withReplication() && !getRegionAttributes().getDataPolicy().withPreloaded()) { vm3.invoke(newKey2); vm3.invoke(newKey3);
VM vm = VM.getVM(i); vm.invoke(create); if (!getRegionAttributes().getDataPolicy().withPreloaded()) { vm.invoke(newKey);