com.hazelcast.hibernate
Class HazelcastLocalCacheRegionFactory

java.lang.Object
  extended by com.hazelcast.hibernate.AbstractHazelcastCacheRegionFactory
      extended by com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory
All Implemented Interfaces:
org.hibernate.cache.RegionFactory

public class HazelcastLocalCacheRegionFactory
extends AbstractHazelcastCacheRegionFactory
implements org.hibernate.cache.RegionFactory


Field Summary
 
Fields inherited from class com.hazelcast.hibernate.AbstractHazelcastCacheRegionFactory
instance
 
Constructor Summary
HazelcastLocalCacheRegionFactory()
           
HazelcastLocalCacheRegionFactory(HazelcastInstance instance)
           
HazelcastLocalCacheRegionFactory(Properties properties)
           
 
Method Summary
 org.hibernate.cache.CollectionRegion buildCollectionRegion(String regionName, Properties properties, org.hibernate.cache.CacheDataDescription metadata)
           
 org.hibernate.cache.EntityRegion buildEntityRegion(String regionName, Properties properties, org.hibernate.cache.CacheDataDescription metadata)
           
 org.hibernate.cache.TimestampsRegion buildTimestampsRegion(String regionName, Properties properties)
           
 void start(org.hibernate.cfg.Settings settings, Properties properties)
           
 void stop()
           
 
Methods inherited from class com.hazelcast.hibernate.AbstractHazelcastCacheRegionFactory
buildQueryResultsRegion, getDefaultAccessType, getHazelcastInstance, isMinimalPutsEnabledByDefault, nextTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.cache.RegionFactory
buildQueryResultsRegion, getDefaultAccessType, isMinimalPutsEnabledByDefault, nextTimestamp
 

Constructor Detail

HazelcastLocalCacheRegionFactory

public HazelcastLocalCacheRegionFactory()

HazelcastLocalCacheRegionFactory

public HazelcastLocalCacheRegionFactory(HazelcastInstance instance)

HazelcastLocalCacheRegionFactory

public HazelcastLocalCacheRegionFactory(Properties properties)
Method Detail

buildCollectionRegion

public org.hibernate.cache.CollectionRegion buildCollectionRegion(String regionName,
                                                                  Properties properties,
                                                                  org.hibernate.cache.CacheDataDescription metadata)
                                                           throws org.hibernate.cache.CacheException
Specified by:
buildCollectionRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

buildEntityRegion

public org.hibernate.cache.EntityRegion buildEntityRegion(String regionName,
                                                          Properties properties,
                                                          org.hibernate.cache.CacheDataDescription metadata)
                                                   throws org.hibernate.cache.CacheException
Specified by:
buildEntityRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

buildTimestampsRegion

public org.hibernate.cache.TimestampsRegion buildTimestampsRegion(String regionName,
                                                                  Properties properties)
                                                           throws org.hibernate.cache.CacheException
Specified by:
buildTimestampsRegion in interface org.hibernate.cache.RegionFactory
Throws:
org.hibernate.cache.CacheException

start

public void start(org.hibernate.cfg.Settings settings,
                  Properties properties)
           throws org.hibernate.cache.CacheException
Specified by:
start in interface org.hibernate.cache.RegionFactory
Overrides:
start in class AbstractHazelcastCacheRegionFactory
Throws:
org.hibernate.cache.CacheException

stop

public void stop()
Specified by:
stop in interface org.hibernate.cache.RegionFactory
Overrides:
stop in class AbstractHazelcastCacheRegionFactory


Copyright © 2013 Hazelcast, Inc.. All Rights Reserved.