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