Class EntityCache


  • public class EntityCache
    extends Object
    • Constructor Detail

      • EntityCache

        public EntityCache()
    • Method Detail

      • getById

        public <T> T getById​(Class<T> type,
                             Object id)
      • setById

        public <T> void setById​(Class<T> type,
                                Object id,
                                T instance)
      • getOrSet

        public <T> T getOrSet​(EntityState state,
                              org.springframework.data.relational.core.mapping.RelationalPersistentEntity<T> entity,
                              org.springframework.data.mapping.PersistentPropertyAccessor<T> accessor,
                              LcReactiveDataRelationalClient client)
        Get it from cache or add it to cache.