List of usage examples for org.hibernate.cache.spi AbstractRegionFactory LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES
List LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES
To view the source code for org.hibernate.cache.spi AbstractRegionFactory LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES.
Click Source Link
From source file:org.infinispan.hibernate.cache.v53.InfinispanRegionFactory.java
License:LGPL
@Override public TimestampsRegion buildTimestampsRegion(String regionName, SessionFactoryImplementor sessionFactory) { log.debugf("Building timestamps cache region [%s]", regionName); List<String> legacyUnqualifiedNames = regionName .equals(RegionFactory.DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME) ? AbstractRegionFactory.LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES : Collections.emptyList(); final AdvancedCache cache = getCache(qualify(regionName), regionName, DataType.TIMESTAMPS, legacyUnqualifiedNames);//from ww w.j a v a 2s . co m TimestampsRegionImpl region = createTimestampsRegion(cache, regionName); startRegion(region); return region; }