// Path: src/main/java/redis/clients/collections/keyValueRedisStructure.java
// public interface keyValueRedisStructure<T> {
// 
// 	T get(String key);
// 	
// 	void set(String key, T bean);
// 
// 	List<T> multiplesGet(Iterable<String> keys);
// 
// 	void delete(String key);
// }


import org.apache.commons.lang3.StringUtils;
import redis.clients.collections.keyValueRedisStructure;
import redis.clients.jedis.Jedis;
package redis.clients.collections.builder;




public class KeyValueBuilder<T> {

	private Class<T> clazz;

	private String nameSpace;
	
	private int ttl;
	
	private Jedis jedis;
	
	KeyValueBuilder(Jedis jedis, Class<T> clazz) {
		this.clazz = clazz;
		this.jedis = jedis;
	}

	public KeyValueBuilder<T> withNameSpace(String nameSpace) {
		this.nameSpace = nameSpace;
		return this;
	}

	public KeyValueBuilder<T> withttl(int ttl) {
		this.ttl = ttl;
		return this;
	}

// Path: src/main/java/redis/clients/collections/keyValueRedisStructure.java
// public interface keyValueRedisStructure<T> {
// 
// 	T get(String key);
// 	
// 	void set(String key, T bean);
// 
// 	List<T> multiplesGet(Iterable<String> keys);
// 
// 	void delete(String key);
// }


// Path: src/main/java/redis/clients/collections/builder/KeyValueBuilder.java
import org.apache.commons.lang3.StringUtils;
import redis.clients.collections.keyValueRedisStructure;
import redis.clients.jedis.Jedis;

package redis.clients.collections.builder;




public class KeyValueBuilder<T> {

	private Class<T> clazz;

	private String nameSpace;
	
	private int ttl;
	
	private Jedis jedis;
	
	KeyValueBuilder(Jedis jedis, Class<T> clazz) {
		this.clazz = clazz;
		this.jedis = jedis;
	}

	public KeyValueBuilder<T> withNameSpace(String nameSpace) {
		this.nameSpace = nameSpace;
		return this;
	}

	public KeyValueBuilder<T> withttl(int ttl) {
		this.ttl = ttl;
		return this;
	}

	public keyValueRedisStructure<T> build() {