com.jeesuite.filesystem.sdk.fdfs.FastdfsSettings Maven / Gradle / Ivy
/**
*
*/
package com.jeesuite.filesystem.sdk.fdfs;
/**
* 连接设置
*
* @author liulongbiao
*/
final class FastdfsSettings {
private long connectTimeout;
private long readTimeout;
private long idleTimeout;
private int maxThreads;
private int maxConnPerHost;
FastdfsSettings(long connectTimeout,
long readTimeout,
long idleTimeout,
int maxThreads,
int maxConnPerHost) {
this.connectTimeout = connectTimeout;
this.readTimeout = readTimeout;
this.idleTimeout = idleTimeout;
this.maxThreads = maxThreads;
this.maxConnPerHost = maxConnPerHost;
}
long connectTimeout() {
return connectTimeout;
}
long readTimeout() {
return readTimeout;
}
long idleTimeout() {
return idleTimeout;
}
int maxThreads() {
return maxThreads;
}
int maxConnPerHost() {
return maxConnPerHost;
}
}