public PerfInserterBase(Configuration conf, TableName tableName, String loadDataDir,
int processId, int threadNum, String statFilePath, ConcurrentLinkedQueue<String> reportQueue,
AbstractWorkload workload) throws IOException {
this.tableName = tableName;
this.processId = processId;
this.threadNum = threadNum;
this.loadDataDir = loadDataDir;
this.statFilePath = statFilePath;
this.reportQueue = reportQueue;
this.conf = conf;
loaders = new RunnableDataLoader[threadNum];
inserters = new RunnablePerfInserter[threadNum];
threadFinishMark = new boolean[threadNum];
threadLatency = new double[threadNum];
globalBoxNumber = new int[ResultParser.LatencyBoxPivots.length];
for (int i = 0; i < globalBoxNumber.length; ++i) {
globalBoxNumber[i] = 0;
}
this.workload = workload;
}
PerfInserterBase.java 文件源码
java
阅读 44
收藏 0
点赞 0
评论 0
项目:ditb
作者:
评论列表
文章目录