public abstract class

BaseGeneralDataRegionAdapter

extends BaseRegionAdapter
implements GeneralDataRegion
java.lang.Object
   ↳ org.hibernate.cache.impl.bridge.BaseRegionAdapter
     ↳ org.hibernate.cache.impl.bridge.BaseGeneralDataRegionAdapter
Known Direct Subclasses

Class Overview

Summary

[Expand]
Inherited Fields
From class org.hibernate.cache.impl.bridge.BaseRegionAdapter
Protected Constructors
BaseGeneralDataRegionAdapter(Cache underlyingCache, Settings settings)
Public Methods
void evict(Object key)
Evict an item from the cache immediately (without regard for transaction isolation).
void evictAll()
Evict all contents of this particular cache region (without regard for transaction isolation).
Object get(Object key)
Get an item from the cache.
void put(Object key, Object value)
Put an item into the cache.
[Expand]
Inherited Methods
From class org.hibernate.cache.impl.bridge.BaseRegionAdapter
From class java.lang.Object
From interface org.hibernate.cache.GeneralDataRegion
From interface org.hibernate.cache.Region

Protected Constructors

protected BaseGeneralDataRegionAdapter (Cache underlyingCache, Settings settings)

Public Methods

public void evict (Object key)

Evict an item from the cache immediately (without regard for transaction isolation).

Parameters
key The key of the item to remove

public void evictAll ()

Evict all contents of this particular cache region (without regard for transaction isolation).

public Object get (Object key)

Get an item from the cache.

Parameters
key The key of the item to be retrieved.
Returns
  • the cached object or null

public void put (Object key, Object value)

Put an item into the cache.

Parameters
key The key under which to cache the item.
value The item to cache.