public interface

CacheProvider

org.hibernate.cache.CacheProvider
Known Indirect Subclasses

This interface is deprecated.
As of 3.3; see for details.

Class Overview

Support for pluggable caches.

Summary

Public Methods
abstract Cache buildCache(String regionName, Properties properties)
Configure the cache
abstract boolean isMinimalPutsEnabledByDefault()
abstract long nextTimestamp()
Generate a timestamp
abstract void start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
abstract void stop()
Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().

Public Methods

public abstract Cache buildCache (String regionName, Properties properties)

Configure the cache

Parameters
regionName the name of the cache region
properties configuration settings

public abstract boolean isMinimalPutsEnabledByDefault ()

public abstract long nextTimestamp ()

Generate a timestamp

public abstract void start (Properties properties)

Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.

Parameters
properties current configuration settings.

public abstract void stop ()

Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().