HHH-11254 Timestamps cache fails validation if eviction strategy = MANUAL

This commit is contained in:
Paul Ferraro 2016-11-16 18:05:59 -05:00 committed by Gail Badner
parent e3df389683
commit 79ff7aec5b
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class InfinispanRegionFactory implements RegionFactory {
if ( c.clustering().cacheMode().isInvalidation() ) { if ( c.clustering().cacheMode().isInvalidation() ) {
throw log.timestampsMustNotUseInvalidation(); throw log.timestampsMustNotUseInvalidation();
} }
if (c.eviction().strategy() != EvictionStrategy.NONE) { if (c.eviction().strategy().isEnabled()) {
throw log.timestampsMustNotUseEviction(); throw log.timestampsMustNotUseEviction();
} }
}), }),