GigaSpaces XAP 8.0 API

org.openspaces.hibernate.cache
Class SimpleMapCacheProvider

java.lang.Object
  extended by org.openspaces.hibernate.cache.AbstractMapCacheProvider
      extended by org.openspaces.hibernate.cache.SimpleMapCacheProvider
All Implemented Interfaces:
org.hibernate.cache.CacheProvider

public class SimpleMapCacheProvider
extends AbstractMapCacheProvider

Simple Cache provider uses SimpleMapCache to provide second level cache implementation which is not transactional.

Author:
kimchy

Field Summary
 
Fields inherited from class org.openspaces.hibernate.cache.AbstractMapCacheProvider
CACHE_URL_PROPERTY, log, TIME_TO_LIVE_PROPERTY, WAIT_FOR_RESPONSE_PROPERTY
 
Constructor Summary
SimpleMapCacheProvider()
           
 
Method Summary
 org.hibernate.cache.Cache buildCache(String regionName, Properties properties)
          Returns SimpleMapCache.
 
Methods inherited from class org.openspaces.hibernate.cache.AbstractMapCacheProvider
doStart, doStop, getMap, getTimeToLive, getWaitForResponse, isMinimalPutsEnabledByDefault, nextTimestamp, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMapCacheProvider

public SimpleMapCacheProvider()
Method Detail

buildCache

public org.hibernate.cache.Cache buildCache(String regionName,
                                            Properties properties)
                                     throws org.hibernate.cache.CacheException
Returns SimpleMapCache.

Throws:
org.hibernate.cache.CacheException

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.