mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-21 13:31:50 +00:00
feature:add connection pool v2
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
|
||||
package org.csource.fastdfs;
|
||||
|
||||
import org.csource.fastdfs.*;
|
||||
|
||||
/**
|
||||
* load test class
|
||||
*
|
||||
@@ -88,7 +86,7 @@ public class TestLoad {
|
||||
|
||||
public Uploader() throws Exception {
|
||||
this.tracker = new TrackerClient();
|
||||
this.trackerServer = tracker.getConnection();
|
||||
this.trackerServer = tracker.getTrackerServer();
|
||||
}
|
||||
|
||||
public int uploadFile() throws Exception {
|
||||
@@ -129,7 +127,7 @@ public class TestLoad {
|
||||
|
||||
public Downloader() throws Exception {
|
||||
this.tracker = new TrackerClient();
|
||||
this.trackerServer = tracker.getConnection();
|
||||
this.trackerServer = tracker.getTrackerServer();
|
||||
this.callback = new DownloadFileDiscard();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user