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

com.gitee.apanlh.util.cache.redis.RedisKeyConfig Maven / Gradle / Ivy

There is a newer version: 2.0.0.2
Show newest version
package com.gitee.apanlh.util.cache.redis;

/**	
 * 	RedisKey配置
 * 
 * 	@author Pan
 */
public class RedisKeyConfig {
	
	/** 默认分隔符风格 */
	private static final String DEFAULT_SEPARATOR = ":";
	
	/**	分隔符 */
	private String separator;
	
	/**
	 * 	默认-构造函数
	 * 	
:符号风格 * * @author Pan */ public RedisKeyConfig() { this(DEFAULT_SEPARATOR); } /** * 自定义分隔符 * * @author Pan * @param separator 自定义分割符号 */ public RedisKeyConfig(String separator) { this.separator = separator; } /** * 获取分隔符风格 * * @author Pan * @return String */ public String getSeparator() { return separator; } /** * 设置分隔符风格 * * @author Pan * @param separator 自定义分隔符 */ public void setSeparator(String separator) { this.separator = separator; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy