public class FineFTPPoolConfig extends DefaultConfiguration
构造器和说明 |
---|
FineFTPPoolConfig() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
getBlockWhenExhausted() |
int |
getMaxIdle() |
int |
getMaxTotal() |
long |
getMaxWaitMillis() |
int |
getMinIdle() |
static com.fr.third.org.apache.commons.pool2.impl.GenericObjectPoolConfig |
getPoolConfig()
新建FineFTP对象池配置
|
boolean |
getTestOnBorrow() |
boolean |
getTestOnCreate() |
boolean |
getTestOnReturn() |
boolean |
getTestWhileIdle() |
void |
setBlockWhenExhausted(boolean blockWhenExhausted) |
void |
setMaxIdle(int maxIdle) |
void |
setMaxTotal(int maxTotal) |
void |
setMaxWaitMillis(long maxWaitMillis) |
void |
setMinIdle(int minIdle) |
void |
setTestOnBorrow(boolean testOnBorrow) |
void |
setTestOnCreate(boolean testOnCreate) |
void |
setTestOnReturn(boolean testOnReturn) |
void |
setTestWhileIdle(boolean testWhileIdle) |
getNameSpace
clone, initialize, mirror
public static com.fr.third.org.apache.commons.pool2.impl.GenericObjectPoolConfig getPoolConfig()
public int getMaxTotal()
public void setMaxTotal(int maxTotal)
public int getMaxIdle()
public void setMaxIdle(int maxIdle)
public int getMinIdle()
public void setMinIdle(int minIdle)
public boolean getTestOnCreate()
public void setTestOnCreate(boolean testOnCreate)
public boolean getTestOnBorrow()
public void setTestOnBorrow(boolean testOnBorrow)
public boolean getTestOnReturn()
public void setTestOnReturn(boolean testOnReturn)
public boolean getTestWhileIdle()
public void setTestWhileIdle(boolean testWhileIdle)
public long getMaxWaitMillis()
public void setMaxWaitMillis(long maxWaitMillis)
public boolean getBlockWhenExhausted()
public void setBlockWhenExhausted(boolean blockWhenExhausted)