Skip to content

Commit

Permalink
ISPN-2185 AtomicHashMapProxy calls Cache.getCacheConfiguration() trig…
Browse files Browse the repository at this point in the history
…gering legacy config adaptation.
  • Loading branch information
pferraro authored and tristantarrant committed Aug 7, 2012
1 parent 3e9d50e commit f78954e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -83,7 +83,7 @@ public class AtomicHashMapProxy<K, V> extends AutoBatchSupport implements Atomic
// When passivation is enabled, cache loader needs to attempt to load
// the previous value in order to merge it if necessary, so mark atomic
// hash map writes as delta writes
if (cache.getCacheConfiguration().loaders().passivation())
if (cache.getConfiguration().getCacheLoaderManagerConfig().isPassivation())
flags[1] = Flag.DELTA_WRITE;
else
flags[1] = Flag.SKIP_CACHE_LOAD;
Expand Down

0 comments on commit f78954e

Please sign in to comment.