public interface

CacheDataDescription

org.hibernate.cache.CacheDataDescription
Known Indirect Subclasses

Class Overview

Describes attributes regarding the type of data to be cached.

Summary

Public Methods
abstract Comparator getVersionComparator()
Get the comparator used to compare two different version values.
abstract boolean isMutable()
Is the data marked as being mutable?
abstract boolean isVersioned()
Is the data to be cached considered versioned?

If true, it is illegal for getVersionComparator() to return null.

Public Methods

public abstract Comparator getVersionComparator ()

Get the comparator used to compare two different version values.

May return null if isVersioned() returns false.

public abstract boolean isMutable ()

Is the data marked as being mutable?

Returns
  • True if the data is mutable; false otherwise.

public abstract boolean isVersioned ()

Is the data to be cached considered versioned?

If true, it is illegal for getVersionComparator() to return null.

Returns
  • True if the data is versioned; false otherwise.