类 HazelcastProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.hazelcast.HazelcastProperties
@ConfigurationProperties(prefix="spring.hazelcast") public class HazelcastProperties extends Object
Configuration properties for the hazelcast integration.- 从以下版本开始:
- 1.3.0
构造器概要
构造器 构造器 说明 HazelcastProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.core.io.Resource
getConfig()
org.springframework.core.io.Resource
resolveConfigLocation()
Resolve the config location if set.void
setConfig(org.springframework.core.io.Resource config)
构造器详细资料
HazelcastProperties
public HazelcastProperties()
方法详细资料
getConfig
public org.springframework.core.io.Resource getConfig()
setConfig
public void setConfig(org.springframework.core.io.Resource config)
resolveConfigLocation
public org.springframework.core.io.Resource resolveConfigLocation()
Resolve the config location if set.- 返回:
- the location or
null
if it is not set - 抛出:
IllegalArgumentException
- if the config attribute is set to an unknown location