public class ConfluenceCacheStrategy extends Object implements net.sf.hibernate.cache.CacheConcurrencyStrategy
Constructor and Description |
---|
ConfluenceCacheStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
afterInsert(Object key,
Object value,
Object version) |
void |
afterUpdate(Object key,
Object value,
Object version,
net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock) |
void |
clear() |
void |
destroy() |
void |
evict(Object key) |
Object |
get(Object key,
long txTimestamp) |
void |
insert(Object key,
Object value) |
net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock |
lock(Object key,
Object version) |
boolean |
put(Object key,
Object value,
long txTimestamp,
Object version,
Comparator versionComparator) |
void |
release(Object key,
net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock) |
void |
remove(Object key) |
void |
setCache(net.sf.hibernate.cache.Cache cache) |
void |
setMinimalPuts(boolean minimalPuts) |
void |
update(Object key,
Object value) |
public void afterInsert(Object key, Object value, Object version) throws net.sf.hibernate.cache.CacheException
afterInsert
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void afterUpdate(Object key, Object value, Object version, net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock) throws net.sf.hibernate.cache.CacheException
afterUpdate
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void clear() throws net.sf.hibernate.cache.CacheException
clear
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void destroy()
destroy
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
public void evict(Object key) throws net.sf.hibernate.cache.CacheException
evict
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public Object get(Object key, long txTimestamp) throws net.sf.hibernate.cache.CacheException
get
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void insert(Object key, Object value) throws net.sf.hibernate.cache.CacheException
insert
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock(Object key, Object version) throws net.sf.hibernate.cache.CacheException
lock
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public boolean put(Object key, Object value, long txTimestamp, Object version, Comparator versionComparator) throws net.sf.hibernate.cache.CacheException
put
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void release(Object key, net.sf.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock) throws net.sf.hibernate.cache.CacheException
release
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void remove(Object key) throws net.sf.hibernate.cache.CacheException
remove
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.cache.CacheException
public void setCache(net.sf.hibernate.cache.Cache cache)
setCache
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
public void setMinimalPuts(boolean minimalPuts) throws net.sf.hibernate.HibernateException
setMinimalPuts
in interface net.sf.hibernate.cache.CacheConcurrencyStrategy
net.sf.hibernate.HibernateException
Copyright © 2003–2016 Atlassian. All rights reserved.