Package org.hibernate.cache.spi
Interface CacheKeysFactory
-
public interface CacheKeysFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
createCollectionKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
Object
createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
Object
createNaturalIdKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Object
getCollectionId(Object cacheKey)
Object
getEntityId(Object cacheKey)
Object[]
getNaturalIdValues(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)
-
-