Class RedissonCacheKeysFactory

  • All Implemented Interfaces:
    org.hibernate.cache.spi.CacheKeysFactory

    public class RedissonCacheKeysFactory
    extends org.hibernate.cache.internal.DefaultCacheKeysFactory
    Author:
    Nikita Koksharov
    • Field Summary

      • Fields inherited from class org.hibernate.cache.internal.DefaultCacheKeysFactory

        INSTANCE, SHORT_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object createCollectionKey​(Object id, org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, String tenantIdentifier)  
      • Methods inherited from class org.hibernate.cache.internal.DefaultCacheKeysFactory

        createEntityKey, createNaturalIdKey, getCollectionId, getEntityId, getNaturalIdValues, staticCreateCollectionKey, staticCreateEntityKey, staticCreateNaturalIdKey, staticGetCollectionId, staticGetEntityId, staticGetNaturalIdValues
    • Constructor Detail

      • RedissonCacheKeysFactory

        public RedissonCacheKeysFactory​(Codec codec)
    • Method Detail

      • createCollectionKey

        public Object createCollectionKey​(Object id,
                                          org.hibernate.persister.collection.CollectionPersister persister,
                                          org.hibernate.engine.spi.SessionFactoryImplementor factory,
                                          String tenantIdentifier)
        Specified by:
        createCollectionKey in interface org.hibernate.cache.spi.CacheKeysFactory
        Overrides:
        createCollectionKey in class org.hibernate.cache.internal.DefaultCacheKeysFactory