@@ -0,0 +1,1076 @@
+/**%0A * %0A */%0Apackage cn.strong.fastdfs.client;%0A%0A/**%0A * %E8%BF%9E%E6%8E%A5%E8%AE%BE%E7%BD%AE%0A * %0A * @author liulongbiao%0A *%0A */%0Apublic class Settings %7B%0A%0A%09private int eventLoopThreads = 0; // %E7%BA%BF%E7%A8%8B%E6%95%B0%E9%87%8F%0A%09private int maxConnPerHost = 10; // %E6%AF%8F%E4%B8%AAIP%E6%9C%80%E5%A4%A7%E8%BF%9E%E6%8E%A5%E6%95%B0%0A%09private int timeout = 10000; // %E8%B6%85%E6%97%B6%E6%97%B6%E9%97%B4(%E6%AF%AB%E7%A7%92)%0A%09private int maxIdleSeconds = 20; // %E6%9C%80%E5%A4%A7%E9%97%B2%E7%BD%AE%E6%97%B6%E9%97%B4(%E7%A7%92)%0A%09private String charset = %22UTF-8%22; // %E5%AD%97%E7%AC%A6%E9%9B%86%0A%0A%09public int getEventLoopThreads() %7B%0A%09%09return eventLoopThreads;%0A%09%7D%0A%0A%09public void setEventLoopThreads(int eventLoopThreads) %7B%0A%09%09this.eventLoopThreads = eventLoopThreads;%0A%09%7D%0A%0A%09public int getMaxConnPerHost() %7B%0A%09%09return maxConnPerHost;%0A%09%7D%0A%0A%09public void setMaxConnPerHost(int maxConnPerHost) %7B%0A%09%09this.maxConnPerHost = maxConnPerHost;%0A%09%7D%0A%0A%09public int getTimeout() %7B%0A%09%09return timeout;%0A%09%7D%0A%0A%09public void setTimeout(int timeout) %7B%0A%09%09this.timeout = timeout;%0A%09%7D%0A%0A%09public int getMaxIdleSeconds() %7B%0A%09%09return maxIdleSeconds;%0A%09%7D%0A%0A%09public void setMaxIdleSeconds(int maxIdleSeconds) %7B%0A%09%09this.maxIdleSeconds = maxIdleSeconds;%0A%09%7D%0A%0A%09public String getCharset() %7B%0A%09%09return charset;%0A%09%7D%0A%0A%09public void setCharset(String charset) %7B%0A%09%09this.charset = charset;%0A%09%7D%0A%0A%7D%0A

add settings