// Path: src/main/java/io/mycat/jcache/net/JcacheGlobalConfig.java
// public final class JcacheGlobalConfig {
// 	
// 	/**
// 	 * 默认reactor pool 大小
// 	 */
// 	public static int defaulePoolSize = Runtime.getRuntime().availableProcessors();
// 	
// 	/**
// 	 * 默认 reactor pool 绑定地址
// 	 */
// 	public static final String defaultPoolBindIp = "0.0.0.0";
// 	
// 	/**
// 	 * 默认 reactor 选择策略
// 	 */
// 	public static final String defaultReactorSelectStrategy = "ROUND_ROBIN";
// 	
// 	/**
// 	 * 
// 	 */
// 	public static final int defaultMaxAcceptNum = 10000;
// 	
// 	/**
// 	 * 默认字符编码
// 	 */
// 	public static final String defaultCahrset = "UTF-8";
// 	
// 	/** Maximum length of a key */
// 	public static final int KEY_MAX_LENGTH = 250;
// 
// 
// 	/** Maximum length of a value */
// 	public static final long VALUE_MAX_LENGTH=1024*1024;
// 	
// 	/** current version */
// 	public static final String version = "0.5.0";
// 	
// 	/** How long an object can reasonably be assumed to be locked before
//     	harvesting it on a low memory condition. Default: disabled. */
// 	public static final int TAIL_REPAIR_TIME_DEFAULT = 0;
// 	
// 	/** Size of an incr buf. */
// 	public static final int INCR_MAX_STORAGE_LEN = 24;
// 	
// }


import java.nio.charset.Charset;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.mycat.jcache.net.JcacheGlobalConfig;

package io.mycat.jcache.net.command;




/**
 * 命令接口
 * @author liyanjun
 *
 */

public interface Command {
	
	Charset cs = Charset.forName (JcacheGlobalConfig.defaultCahrset);
	
	static final Logger logger = LoggerFactory.getLogger(Command.class);
	
	public final int NREAD_ADD = 1;
	
	public final int NREAD_SET = 2;
	
	public final int NREAD_REPLACE = 3;
	
	public final int NREAD_APPEND = 4;
	

// Path: src/main/java/io/mycat/jcache/net/JcacheGlobalConfig.java
// public final class JcacheGlobalConfig {
// 	
// 	/**
// 	 * 默认reactor pool 大小
// 	 */
// 	public static int defaulePoolSize = Runtime.getRuntime().availableProcessors();
// 	
// 	/**
// 	 * 默认 reactor pool 绑定地址
// 	 */
// 	public static final String defaultPoolBindIp = "0.0.0.0";
// 	
// 	/**
// 	 * 默认 reactor 选择策略
// 	 */
// 	public static final String defaultReactorSelectStrategy = "ROUND_ROBIN";
// 	
// 	/**
// 	 * 
// 	 */
// 	public static final int defaultMaxAcceptNum = 10000;
// 	
// 	/**
// 	 * 默认字符编码
// 	 */
// 	public static final String defaultCahrset = "UTF-8";
// 	
// 	/** Maximum length of a key */
// 	public static final int KEY_MAX_LENGTH = 250;
// 
// 
// 	/** Maximum length of a value */
// 	public static final long VALUE_MAX_LENGTH=1024*1024;
// 	
// 	/** current version */
// 	public static final String version = "0.5.0";
// 	
// 	/** How long an object can reasonably be assumed to be locked before
//     	harvesting it on a low memory condition. Default: disabled. */
// 	public static final int TAIL_REPAIR_TIME_DEFAULT = 0;
// 	
// 	/** Size of an incr buf. */
// 	public static final int INCR_MAX_STORAGE_LEN = 24;
// 	
// }


// Path: src/main/java/io/mycat/jcache/net/command/Command.java
import java.nio.charset.Charset;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.mycat.jcache.net.JcacheGlobalConfig;

package io.mycat.jcache.net.command;




/**
 * 命令接口
 * @author liyanjun
 *
 */

public interface Command {
	
	Charset cs = Charset.forName (JcacheGlobalConfig.defaultCahrset);
	
	static final Logger logger = LoggerFactory.getLogger(Command.class);
	
	public final int NREAD_ADD = 1;
	
	public final int NREAD_SET = 2;
	
	public final int NREAD_REPLACE = 3;
	
	public final int NREAD_APPEND = 4;
	

	public final int NREAD_PREPEND = 5;
