类 CacheConfiguration

  • 所有已实现的接口:
    org.springframework.beans.factory.DisposableBean

    @Configuration
    @EnableCaching
    public class CacheConfiguration
    extends Object
    implements org.springframework.beans.factory.DisposableBean
    • 构造器详细资料

      • CacheConfiguration

        public CacheConfiguration​(org.springframework.core.env.Environment env,
                                  org.springframework.boot.autoconfigure.web.ServerProperties serverProperties,
                                  org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient)
    • 方法详细资料

      • setRegistration

        @Autowired(required=false)
        public void setRegistration​(org.springframework.cloud.client.serviceregistry.Registration registration)
      • destroy

        public void destroy()
                     throws Exception
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
        抛出:
        Exception
      • cacheManager

        @Bean
        public org.springframework.cache.CacheManager cacheManager​(com.hazelcast.core.HazelcastInstance hazelcastInstance)
      • hazelcastInstance

        @Bean
        public com.hazelcast.core.HazelcastInstance hazelcastInstance​(io.github.jhipster.config.JHipsterProperties jHipsterProperties)