添加批量数据并行支持

This commit is contained in:
cheney
2022-09-07 20:11:03 +08:00
parent d2aaa8e9ac
commit b32d2d7c40
10 changed files with 1099 additions and 768 deletions
+4 -1
View File
@@ -11,10 +11,13 @@ public class ShortLinkSample {
SydApi.SYD_SetLogConfig("./logs/",3);
String[] pcipList = {"127.0.0.1", "192.168.0.200" };
int[] iportList ={8080,8889};
int[] iportList = {8080,8889};
SydApi api = new SydApi4Database();
try {
api.SYD_Short_Connect_Ex(pcipList,iportList,10,10);
} finally {
if ( null != api ) {
api.SYD_Disconnect_Ex();