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.ObjectcreateCollectionKey(java.lang.Object id, CollectionPersister persister, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)java.lang.ObjectcreateEntityKey(java.lang.Object id, EntityPersister persister, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)java.lang.ObjectcreateNaturalIdKey(java.lang.Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)java.lang.ObjectgetCollectionId(java.lang.Object cacheKey)java.lang.ObjectgetEntityId(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)
-
-