public abstract class AbstractHazelcastCacheRegionFactory extends Object implements org.hibernate.cache.RegionFactory
RegionFactory
implementationsModifier and Type | Field and Description |
---|---|
protected CleanupService |
cleanupService |
protected HazelcastInstance |
instance |
Constructor and Description |
---|
AbstractHazelcastCacheRegionFactory() |
AbstractHazelcastCacheRegionFactory(HazelcastInstance instance) |
AbstractHazelcastCacheRegionFactory(Properties properties) |
Modifier and Type | Method and Description |
---|---|
QueryResultsRegion |
buildQueryResultsRegion(String regionName,
Properties properties) |
AccessType |
getDefaultAccessType() |
HazelcastInstance |
getHazelcastInstance() |
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp() |
void |
start(org.hibernate.cfg.Settings settings,
Properties properties) |
void |
stop() |
protected HazelcastInstance instance
protected CleanupService cleanupService
public AbstractHazelcastCacheRegionFactory()
public AbstractHazelcastCacheRegionFactory(Properties properties)
public AbstractHazelcastCacheRegionFactory(HazelcastInstance instance)
public final QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildQueryResultsRegion
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface org.hibernate.cache.spi.RegionFactory
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.spi.RegionFactory
public void start(org.hibernate.cfg.Settings settings, Properties properties) throws org.hibernate.cache.CacheException
start
in interface org.hibernate.cache.spi.RegionFactory
org.hibernate.cache.CacheException
public void stop()
stop
in interface org.hibernate.cache.spi.RegionFactory
public HazelcastInstance getHazelcastInstance()
public AccessType getDefaultAccessType()
getDefaultAccessType
in interface org.hibernate.cache.spi.RegionFactory
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.