/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights reserved. <a>http://www.crunii.com</a>
 */
package com.crunii.micro.common.pool;

/**
 * @author 田平 create 2016-6-14下午4:09:11
 */
public class PoolConfig {
	public static final int DEFAULT_MAX_TOTAL = 50;

	public static final int DEFAULT_MAX_IDLE = 1;

	public static final int DEFAULT_MIN_IDLE = 0;

	public static final long DEFAULT_MAX_WAIT_MILLIS = 120000;// 默认2分钟

	public static final long DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS = 1000L * 60L * 2L;

	public static final long DEFAULT_SOFT_MIN_EVICTABLE_IDLE_TIME_MILLIS = 1000L * 60L * 2L;

	public static final long DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS = 1000L * 60L;

	public static final boolean DEFAULT_TEST_ON_BORROW = true;

	public static final boolean DEFAULT_TEST_ON_RETURN = false;

	public static final boolean DEFAULT_TEST_ON_CREATE = false;

}
