org.hibernate.cache.Cache |
Known Indirect Subclasses |
This interface is deprecated.
As of 3.3; see for details.
Implementors define a caching algorithm. All implementors must be threadsafe.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clear the cache
| |||||||||||
Clean up
| |||||||||||
Get an item from the cache, nontransactionally
| |||||||||||
The count of entries currently contained in the regions in-memory store.
| |||||||||||
The count of entries currently contained in the regions disk store.
| |||||||||||
Get the name of the cache region
| |||||||||||
The number of bytes is this cache region currently consuming in memory.
| |||||||||||
Get a reasonable "lock timeout"
| |||||||||||
If this is a clustered cache, lock the item
| |||||||||||
Generate a timestamp
| |||||||||||
Add an item to the cache, nontransactionally, with
failfast semantics
| |||||||||||
Get an item from the cache
| |||||||||||
Remove an item from the cache
| |||||||||||
optional operation
| |||||||||||
If this is a clustered cache, unlock the item
| |||||||||||
Add an item to the cache
|
Get an item from the cache, nontransactionally
CacheException |
---|
The count of entries currently contained in the regions in-memory store.
The count of entries currently contained in the regions disk store.
The number of bytes is this cache region currently consuming in memory.
Get a reasonable "lock timeout"
If this is a clustered cache, lock the item
CacheException |
---|
Generate a timestamp
Add an item to the cache, nontransactionally, with failfast semantics
CacheException |
---|
If this is a clustered cache, unlock the item
CacheException |
---|
Add an item to the cache
CacheException |
---|