com.github.xiaolyuh.cache.properties.LayeringCacheProperties Maven / Gradle / Ivy
package com.github.xiaolyuh.cache.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* @author yuhao.wang3
*/
@ConfigurationProperties("layering-cache")
public class LayeringCacheProperties {
/**
* 是否开启缓存统计
*/
private boolean stats = true;
/**
* 命名空间,必须唯一般使用服务名
*/
private String namespace;
public boolean isStats() {
return stats;
}
public void setStats(boolean stats) {
this.stats = stats;
}
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy