可以使用getStatus()方法获取状态
MultithreadedTableWriter.Status writeStatus = new MultithreadedTableWriter.Status(); writeStatus = multithreadedTableWriter_.getStatus();
打印结果如下:
writeStatus: {0} errorCode : errorInfo : isExiting : true sentRows : 100 unsentRows : 0 sendFailedRows: 0 threadStatus : threadId sentRows unsentRows sendFailedRows 13 30 0 0 14 18 0 0 15 15 0 0 16 20 0 0 17 17 0 0 100
详细使用可以参考教程7.5节:https://gitee.com/dolphindb/api-java/blob/release130/README_CN.md