Package org.hibernate.cache.spi
Interface CacheKeysFactory
-
- All Known Implementing Classes:
DefaultCacheKeysFactory,SimpleCacheKeysFactory
public interface CacheKeysFactoryA factory for keys into the second-level cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectcreateCollectionKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)ObjectcreateEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)ObjectcreateNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)ObjectgetCollectionId(Object cacheKey)ObjectgetEntityId(Object cacheKey)ObjectgetNaturalIdValues(Object cacheKey)
-
-
-
Method Detail
-
createCollectionKey
Object createCollectionKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
-
createEntityKey
Object createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
-
createNaturalIdKey
Object createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
-
-