GigaSpaces XAP 7.0 API

org.openspaces.hibernate.cache
Class SimpleGigaMapCache

java.lang.Object
  extended by org.openspaces.hibernate.cache.SimpleMapCache
      extended by 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

Constructor Summary
SimpleGigaMapCache(String regionName, GigaMap gigaMap)
           
 
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
 

Constructor Detail

SimpleGigaMapCache

public SimpleGigaMapCache(String regionName,
                          GigaMap gigaMap)
Method Detail

toMap

public Map toMap()
optional operation

Specified by:
toMap in interface org.hibernate.cache.Cache
Overrides:
toMap in class SimpleMapCache

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.