All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.sylinx.hbatis.plugin.cache.GuavaCacheConfig Maven / Gradle / Ivy

The newest version!
package cn.sylinx.hbatis.plugin.cache;

public class GuavaCacheConfig {

	// 默认5分钟过期
	private long expireAfterWrite = 5;
	// 最大2000个缓存键
	private long maximumSize = 2000;

	public long getExpireAfterWrite() {
		return expireAfterWrite;
	}

	public void setExpireAfterWrite(long expireAfterWrite) {
		this.expireAfterWrite = expireAfterWrite;
	}

	public long getMaximumSize() {
		return maximumSize;
	}

	public void setMaximumSize(long maximumSize) {
		this.maximumSize = maximumSize;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy