类 CacheConfiguration
- java.lang.Object
-
- org.springmad.config.CacheConfiguration
-
- 所有已实现的接口:
org.springframework.beans.factory.DisposableBean
@Configuration @EnableCaching public class CacheConfiguration extends Object implements org.springframework.beans.factory.DisposableBean
-
-
构造器概要
构造器 构造器 说明 CacheConfiguration(org.springframework.core.env.Environment env, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, org.springframework.cloud.client.discovery.DiscoveryClient discoveryClient)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.cache.CacheManagercacheManager(com.hazelcast.core.HazelcastInstance hazelcastInstance)voiddestroy()com.hazelcast.core.HazelcastInstancehazelcastInstance(io.github.jhipster.config.JHipsterProperties jHipsterProperties)voidsetRegistration(org.springframework.cloud.client.serviceregistry.Registration registration)
-
-
-
方法详细资料
-
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)
-
-