@Deprecated
abstract class AbstractEhcacheConcurrencyStrategy
extends java.lang.Object
implements org.hibernate.cache.CacheConcurrencyStrategy
Modifier and Type | Field and Description |
---|---|
protected EhCache |
cache
Deprecated.
Ehcache instance this strategy accesses.
|
private static org.slf4j.Logger |
LOG
Deprecated.
|
Constructor and Description |
---|
AbstractEhcacheConcurrencyStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
void |
destroy()
Deprecated.
|
org.hibernate.cache.Cache |
getCache()
Deprecated.
|
java.lang.String |
getRegionName()
Deprecated.
|
void |
remove(java.lang.Object key)
Deprecated.
|
void |
setCache(org.hibernate.cache.Cache cache)
Deprecated.
|
private static final org.slf4j.Logger LOG
protected EhCache cache
AbstractEhcacheConcurrencyStrategy()
public final void setCache(org.hibernate.cache.Cache cache) throws org.hibernate.cache.CacheException
setCache
in interface org.hibernate.cache.CacheConcurrencyStrategy
org.hibernate.cache.CacheException
- if the underlying cache is not an Ehcachepublic final org.hibernate.cache.Cache getCache()
getCache
in interface org.hibernate.cache.CacheConcurrencyStrategy
public final java.lang.String getRegionName()
getRegionName
in interface org.hibernate.cache.CacheConcurrencyStrategy
public final void remove(java.lang.Object key) throws org.hibernate.cache.CacheException
remove
in interface org.hibernate.cache.CacheConcurrencyStrategy
org.hibernate.cache.CacheException
public final void clear() throws org.hibernate.cache.CacheException
clear
in interface org.hibernate.cache.CacheConcurrencyStrategy
org.hibernate.cache.CacheException
public final void destroy()
destroy
in interface org.hibernate.cache.CacheConcurrencyStrategy