Class CacheInfo

    • Method Detail

      • getCacheName

        public String getCacheName()
        The name of the cache in CacheManager
      • getGenerator

        public ContextKeyGen getGenerator()
        The ContextKeyGen instance responsible for creating a complete and accurate cache key for all the computed members based on imperativeArgs.
      • getArgs

        public Object[] getArgs()
        Any method arguments, or other suitable key fragments that should be combined during key generation from generator.
      • getFactoryFunction

        public Supplier<EntityInfo> getFactoryFunction()
        Optional. Create an identifying construct that will influence the cache key. This is useful when it is required to support discrete cache invalidation for members related to specific entities.
      • setFactoryFunction

        public void setFactoryFunction​(Supplier<EntityInfo> factoryFunction)
        Optional. Create an identifying construct that will influence the cache key. This is useful when it is required to support discrete cache invalidation for members related to specific entities.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object