lumis.portal.dao.hibernate
Class PortalCacheProvider

Package class diagram package PortalCacheProvider
java.lang.Object
  extended by lumis.portal.dao.hibernate.PortalCacheProvider
All Implemented Interfaces:
org.hibernate.cache.CacheProvider

public class PortalCacheProvider
extends Object
implements org.hibernate.cache.CacheProvider

A PortalCache provider for hibernate.

Since:
4.0.11

Constructor Summary
PortalCacheProvider()
           
 
Method Summary
 org.hibernate.cache.Cache buildCache(String regionName, Properties properties)
           
 boolean isMinimalPutsEnabledByDefault()
           
 long nextTimestamp()
           
 void start(Properties properties)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalCacheProvider

public PortalCacheProvider()
Method Detail

buildCache

public org.hibernate.cache.Cache buildCache(String regionName,
                                            Properties properties)
                                     throws org.hibernate.cache.CacheException
Specified by:
buildCache in interface org.hibernate.cache.CacheProvider
Throws:
org.hibernate.cache.CacheException

nextTimestamp

public long nextTimestamp()
Specified by:
nextTimestamp in interface org.hibernate.cache.CacheProvider

start

public void start(Properties properties)
           throws org.hibernate.cache.CacheException
Specified by:
start in interface org.hibernate.cache.CacheProvider
Throws:
org.hibernate.cache.CacheException

stop

public void stop()
Specified by:
stop in interface org.hibernate.cache.CacheProvider

isMinimalPutsEnabledByDefault

public boolean isMinimalPutsEnabledByDefault()
Specified by:
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.CacheProvider


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.