FileDocCategorySizeDatePackage
OptimisticCacheSource.javaAPI DocHibernate 3.2.5732Thu Feb 09 13:48:44 GMT 2006org.hibernate.cache

OptimisticCacheSource

public interface OptimisticCacheSource
Contract for sources of optimistically lockable data sent to the second level cache.

Note currently {@link org.hibernate.persister.entity.EntityPersister}s are the only viable source.

author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public java.util.ComparatorgetVersionComparator()
Get the comparator used to compare two different version values together.

return
An appropriate comparator.

public booleanisVersioned()
Does this source represent versioned (i.e., and thus optimistically lockable) data?

return
True if this source represents versioned data; false otherwise.