.setMaxSize(memCfg.getDefaultMemoryPolicySize()) .setName(memCfg.getDefaultMemoryPolicyName()) .setPersistenceEnabled(persistenceEnabled)); } else { if (memCfg.getDefaultMemoryPolicySize() != DFLT_MEMORY_POLICY_MAX_SIZE) throw new IgniteCheckedException(new IllegalArgumentException("User-defined MemoryPolicy " + "configuration and defaultMemoryPolicySize properties are set at the same time."));
.setMaxSize(memCfg.getDefaultMemoryPolicySize()) .setName(memCfg.getDefaultMemoryPolicyName()) .setPersistenceEnabled(persistenceEnabled)); } else { if (memCfg.getDefaultMemoryPolicySize() != DFLT_MEMORY_POLICY_MAX_SIZE) throw new IgniteCheckedException(new IllegalArgumentException("User-defined MemoryPolicy " + "configuration and defaultMemoryPolicySize properties are set at the same time."));