org.openspaces.hibernate.cache
Class SimpleGigaMapCache
java.lang.Object
org.openspaces.hibernate.cache.SimpleMapCache
org.openspaces.hibernate.cache.SimpleGigaMapCache
- All Implemented Interfaces:
- org.hibernate.cache.Cache
public class SimpleGigaMapCache
- extends SimpleMapCache
A hibernate second level cache implementation using GigaMap
that works with no transactions. Supports concurrency strategies of read-only
,
read-write
.
- Author:
- kimchy
Method Summary |
Map |
toMap()
optional operation |
Methods inherited from class org.openspaces.hibernate.cache.SimpleMapCache |
clear, destroy, get, getElementCountInMemory, getElementCountOnDisk, getRegionName, getSizeInMemory, getTimeout, lock, nextTimestamp, put, read, remove, unlock, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGigaMapCache
public SimpleGigaMapCache(String regionName,
GigaMap gigaMap)
toMap
public Map toMap()
- optional operation
- Specified by:
toMap
in interface org.hibernate.cache.Cache
- Overrides:
toMap
in class SimpleMapCache
Copyright © GigaSpaces.