public class

HashtableCacheProvider

extends Object
implements CacheProvider
java.lang.Object
   ↳ org.hibernate.cache.HashtableCacheProvider

Class Overview

A simple in-memory Hashtable-based cache impl.

Summary

Public Constructors
HashtableCacheProvider()
Public Methods
Cache buildCache(String regionName, Properties properties)
Configure the cache
boolean isMinimalPutsEnabledByDefault()
long nextTimestamp()
Generate a timestamp
void start(Properties properties)
Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
void stop()
Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close().
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.cache.CacheProvider

Public Constructors

public HashtableCacheProvider ()

Public Methods

public Cache buildCache (String regionName, Properties properties)

Configure the cache

Parameters
regionName the name of the cache region
properties configuration settings

public boolean isMinimalPutsEnabledByDefault ()

public long nextTimestamp ()

Generate a timestamp

public void start (Properties properties)

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

Parameters
properties current configuration settings.

public void stop ()

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