com.atlassian.confluence.cache
Class DummyCacheProvider
java.lang.Object
com.atlassian.confluence.cache.DummyCacheProvider
- All Implemented Interfaces:
- net.sf.hibernate.cache.CacheProvider
public class DummyCacheProvider
- extends java.lang.Object
- implements net.sf.hibernate.cache.CacheProvider
Builds and returns a DummyCache which will provide no caching (and therefore consume no memory).
Method Summary |
net.sf.hibernate.cache.Cache |
buildCache(java.lang.String regionName,
java.util.Properties properties)
|
long |
nextTimestamp()
|
void |
start(java.util.Properties properties)
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyCacheProvider
public DummyCacheProvider()
buildCache
public net.sf.hibernate.cache.Cache buildCache(java.lang.String regionName,
java.util.Properties properties)
throws net.sf.hibernate.cache.CacheException
- Specified by:
buildCache
in interface net.sf.hibernate.cache.CacheProvider
- Throws:
net.sf.hibernate.cache.CacheException
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp
in interface net.sf.hibernate.cache.CacheProvider
start
public void start(java.util.Properties properties)
throws net.sf.hibernate.cache.CacheException
- Specified by:
start
in interface net.sf.hibernate.cache.CacheProvider
- Throws:
net.sf.hibernate.cache.CacheException
stop
public void stop()
- Specified by:
stop
in interface net.sf.hibernate.cache.CacheProvider
Copyright © 2003-2014 Atlassian. All Rights Reserved.