// Path: ourea-core/src/main/java/com/taocoder/ourea/core/common/Constants.java
// public class Constants {
// 
//     public static final String ZK_PATH_PREFIX = "/ourea";
// 
//     public static final String PATH_SEPARATOR = "/";
// 
//     public static final String GROUP_KEY = "group";
// 
//     public static final String VERSION_KEY = "version";
// 
//     public static final String INTERFACE_KEY = "interface";
// 
//     public static final String INVOKER_KEY = "invoker";
// 
//     public static final String DEFAULT_INVOKER_PROVIDER = "provider";
// 
//     public static final String DEFAULT_INVOKER_CONSUMER = "consumer";
// 
//     public static final String DEFAULT_GROUP_NAME = "ourea";
// 
//     public static final String DEFAULT_VERSION_VALUE = "1.0.0";
// 
//     public static final int DEFAULT_WEIGHT_VALUE = 0;
// 
//     public static final int DEFAULT_TIMEOUT_VALUE = 1000;
// 
//     public static final int DEFAULT_THRIFT_PORT = 1000;
// }


import com.taocoder.ourea.core.common.Constants;
import org.apache.thrift.server.TServerEventHandler;
/*
 * Copyright (c) 2015 taocoder.com. All Rights Reserved.
 */
package com.taocoder.ourea.core.config;


/**
 * thrift 服务端相关配置
 *
 * @author tao.ke Date: 16/4/28 Time: 上午10:53
 */
public class ThriftServerConfig {

    /**
     * 端口号
     */
    private int port;

    /**
     * server最小工作线程数
     */
    private int MinWorkerThreads = 10;

    /**
     * server最大工作线程数
     */
    private int MaxWorkerThreads = 64;

    /**
     * server service 组
     */
// Path: ourea-core/src/main/java/com/taocoder/ourea/core/common/Constants.java
// public class Constants {
// 
//     public static final String ZK_PATH_PREFIX = "/ourea";
// 
//     public static final String PATH_SEPARATOR = "/";
// 
//     public static final String GROUP_KEY = "group";
// 
//     public static final String VERSION_KEY = "version";
// 
//     public static final String INTERFACE_KEY = "interface";
// 
//     public static final String INVOKER_KEY = "invoker";
// 
//     public static final String DEFAULT_INVOKER_PROVIDER = "provider";
// 
//     public static final String DEFAULT_INVOKER_CONSUMER = "consumer";
// 
//     public static final String DEFAULT_GROUP_NAME = "ourea";
// 
//     public static final String DEFAULT_VERSION_VALUE = "1.0.0";
// 
//     public static final int DEFAULT_WEIGHT_VALUE = 0;
// 
//     public static final int DEFAULT_TIMEOUT_VALUE = 1000;
// 
//     public static final int DEFAULT_THRIFT_PORT = 1000;
// }


// Path: ourea-core/src/main/java/com/taocoder/ourea/core/config/ThriftServerConfig.java
import com.taocoder.ourea.core.common.Constants;
import org.apache.thrift.server.TServerEventHandler;

/*
 * Copyright (c) 2015 taocoder.com. All Rights Reserved.
 */
package com.taocoder.ourea.core.config;


/**
 * thrift 服务端相关配置
 *
 * @author tao.ke Date: 16/4/28 Time: 上午10:53
 */
public class ThriftServerConfig {

    /**
     * 端口号
     */
    private int port;

    /**
     * server最小工作线程数
     */
    private int MinWorkerThreads = 10;

    /**
     * server最大工作线程数
     */
    private int MaxWorkerThreads = 64;

    /**
     * server service 组
     */
    private String group = Constants.DEFAULT_GROUP_NAME;