| Modifier and Type | Field and Description |
|---|---|
| protected final T | region
The wrapped Hibernate cache region. |
| protected final Settings | settings
The settings for this persistence unit. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractEhcacheAccessStrategy(T region, Settings settings)
Create an access strategy wrapping the given region. |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| public final SoftLock | |
| public final boolean | putFromLoad(Object key, Object value, long txTimestamp, Object version)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class hierarchy. |
| public abstract boolean | putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride)
This method is a placeholder for method signatures supplied by interfaces pulled in further down the class hierarchy. |
| public void | |
| public final void | |
| public final void |
| region | back to summary |
|---|---|
| protected final T region The wrapped Hibernate cache region. | |
| settings | back to summary |
|---|---|
| protected final Settings settings The settings for this persistence unit. | |
| AbstractEhcacheAccessStrategy | back to summary |
|---|---|
| pack-priv AbstractEhcacheAccessStrategy(T region, Settings settings) Create an access strategy wrapping the given region. | |
| evict | back to summary |
|---|---|
| public final void evict(Object key) throws CacheException Remove the given mapping without regard to transactional safety | |
| evictAll | back to summary |
|---|---|
| public final void evictAll() throws CacheException Remove all mappings without regard to transactional safety | |
| lockRegion | back to summary |
|---|---|
| public final SoftLock lockRegion() Region locks are not supported. | |
| putFromLoad | back to summary |
|---|---|
| public final boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws CacheException This method is a placeholder for method signatures supplied by interfaces pulled in further down the class hierarchy. | |
| putFromLoad | back to summary |
|---|---|
| public abstract boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride) throws CacheException This method is a placeholder for method signatures supplied by interfaces pulled in further down the class hierarchy. | |
| remove | back to summary |
|---|---|
| public void remove(Object key) throws CacheException A no-op since this is an asynchronous cache access strategy. | |
| removeAll | back to summary |
|---|---|
| public final void removeAll() throws CacheException Called to evict data from the entire region
| |
| unlockRegion | back to summary |
|---|---|
| public final void unlockRegion(SoftLock lock) throws CacheException Region locks are not supported - perform a cache clear as a precaution. | |