• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / iotdb / #9614

pending completion
#9614

push

travis_ci

web-flow
Fix default label when no tag (#10568)

78964 of 164811 relevant lines covered (47.91%)

0.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.62
/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
1
/*
2
 * Licensed to the Apache Software Foundation (ASF) under one
3
 * or more contributor license agreements.  See the NOTICE file
4
 * distributed with this work for additional information
5
 * regarding copyright ownership.  The ASF licenses this file
6
 * to you under the Apache License, Version 2.0 (the
7
 * "License"); you may not use this file except in compliance
8
 * with the License.  You may obtain a copy of the License at
9
 *
10
 *      http://www.apache.org/licenses/LICENSE-2.0
11
 *
12
 * Unless required by applicable law or agreed to in writing,
13
 * software distributed under the License is distributed on an
14
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
 * KIND, either express or implied.  See the License for the
16
 * specific language governing permissions and limitations
17
 * under the License.
18
 */
19

20
package org.apache.iotdb.commons.conf;
21

22
import org.apache.iotdb.common.rpc.thrift.TEndPoint;
23
import org.apache.iotdb.commons.client.property.ClientPoolProperty.DefaultProperty;
24
import org.apache.iotdb.commons.cluster.NodeStatus;
25
import org.apache.iotdb.commons.enums.HandleSystemErrorStrategy;
26
import org.apache.iotdb.commons.utils.FileUtils;
27
import org.apache.iotdb.tsfile.fileSystem.FSType;
28

29
import org.slf4j.Logger;
30
import org.slf4j.LoggerFactory;
31

32
import java.io.File;
33
import java.io.IOException;
34
import java.util.concurrent.TimeUnit;
35

36
public class CommonConfig {
37

38
  public static final String CONFIG_NAME = "iotdb-common.properties";
39
  private static final Logger logger = LoggerFactory.getLogger(CommonConfig.class);
1✔
40

41
  // Open ID Secret
42
  private String openIdProviderUrl = "";
1✔
43

44
  // The authorizer provider class which extends BasicAuthorizer
45
  private String authorizerProvider =
1✔
46
      "org.apache.iotdb.commons.auth.authorizer.LocalFileAuthorizer";
47

48
  /** Encryption provider class. */
49
  private String encryptDecryptProvider =
1✔
50
      "org.apache.iotdb.commons.security.encrypt.MessageDigestEncrypt";
51

52
  /** Encryption provided class parameter. */
53
  private String encryptDecryptProviderParameter;
54

55
  private String adminName = "root";
1✔
56

57
  private String adminPassword = "root";
1✔
58

59
  private String userFolder =
1✔
60
      IoTDBConstant.DEFAULT_BASE_DIR
61
          + File.separator
62
          + IoTDBConstant.SYSTEM_FOLDER_NAME
63
          + File.separator
64
          + "users";
65

66
  private String roleFolder =
1✔
67
      IoTDBConstant.DEFAULT_BASE_DIR
68
          + File.separator
69
          + IoTDBConstant.SYSTEM_FOLDER_NAME
70
          + File.separator
71
          + "roles";
72

73
  private String procedureWalFolder =
1✔
74
      IoTDBConstant.DEFAULT_BASE_DIR
75
          + File.separator
76
          + IoTDBConstant.SYSTEM_FOLDER_NAME
77
          + File.separator
78
          + "procedure";
79

80
  /** Sync directory, including the log and hardlink tsFiles. */
81
  private String syncDir =
1✔
82
      IoTDBConstant.DEFAULT_BASE_DIR + File.separator + IoTDBConstant.SYNC_FOLDER_NAME;
83

84
  /** WAL directories. */
85
  private String[] walDirs = {
1✔
86
    IoTDBConstant.DEFAULT_BASE_DIR + File.separator + IoTDBConstant.WAL_FOLDER_NAME
87
  };
88

89
  /** Default system file storage is in local file system (unsupported). */
90
  private FSType systemFileStorageFs = FSType.LOCAL;
1✔
91

92
  /**
93
   * Default TTL for databases that are not set TTL by statements. If tiered storage is enabled,
94
   * data matches the last ttl will be deleted and other data will be migrated to the next tier.
95
   * Notice: if this property is changed, previous created database which are not set TTL will also
96
   * be affected. Unit: millisecond
97
   */
98
  private long[] tierTTLInMs = {Long.MAX_VALUE};
1✔
99

100
  /** Thrift socket and connection timeout between data node and config node. */
101
  private int connectionTimeoutInMS = (int) TimeUnit.SECONDS.toMillis(20);
1✔
102

103
  /**
104
   * ClientManager will have so many selector threads (TAsyncClientManager) to distribute to its
105
   * clients.
106
   */
107
  private int selectorNumOfClientManager = 1;
1✔
108

109
  /** whether to use thrift compression. */
110
  private boolean isRpcThriftCompressionEnabled = false;
1✔
111

112
  private int coreClientNumForEachNode = DefaultProperty.CORE_CLIENT_NUM_FOR_EACH_NODE;
1✔
113
  private int maxClientNumForEachNode = DefaultProperty.MAX_CLIENT_NUM_FOR_EACH_NODE;
1✔
114

115
  /** What will the system do when unrecoverable error occurs. */
116
  private HandleSystemErrorStrategy handleSystemErrorStrategy =
1✔
117
      HandleSystemErrorStrategy.CHANGE_TO_READ_ONLY;
118

119
  /** Status of current system. */
120
  private volatile NodeStatus status = NodeStatus.Running;
1✔
121

122
  private volatile boolean isStopping = false;
1✔
123

124
  private volatile String statusReason = null;
1✔
125

126
  private final int TTimePartitionSlotTransmitLimit = 1000;
1✔
127

128
  /** Disk Monitor. */
129
  private double diskSpaceWarningThreshold = 0.05;
1✔
130

131
  /** Ip and port of target ML node. */
132
  private TEndPoint targetMLNodeEndPoint = new TEndPoint("127.0.0.1", 10810);
1✔
133

134
  /** Time partition interval in milliseconds. */
135
  private long timePartitionInterval = 604_800_000;
1✔
136

137
  /** This variable set timestamp precision as millisecond, microsecond or nanosecond. */
138
  private String timestampPrecision = "ms";
1✔
139

140
  /**
141
   * The name of the directory that stores the tsfiles temporarily hold or generated by the pipe
142
   * module. The directory is located in the data directory of IoTDB.
143
   */
144
  private String pipeHardlinkTsFileDirName = "pipe";
1✔
145

146
  /** The maximum number of threads that can be used to execute subtasks in PipeSubtaskExecutor. */
147
  private int pipeSubtaskExecutorMaxThreadNum = 5;
1✔
148

149
  private int pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount = 10_000;
1✔
150
  private long pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration = 10 * 1000L;
1✔
151
  private long pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs = 1000;
1✔
152

153
  private int pipeExtractorAssignerDisruptorRingBufferSize = 65536;
1✔
154
  private int pipeExtractorMatcherCacheSize = 1024;
1✔
155
  private int pipeExtractorPendingQueueCapacity = 128;
1✔
156
  private int pipeExtractorPendingQueueTabletLimit = pipeExtractorPendingQueueCapacity / 2;
1✔
157
  private int pipeDataStructureTabletRowSize = 65536;
1✔
158

159
  private int pipeConnectorReadFileBufferSize = 8388608;
1✔
160
  private long pipeConnectorRetryIntervalMs = 1000L;
1✔
161
  private int pipeConnectorPendingQueueSize = 1024;
1✔
162

163
  private boolean isSeperatedPipeHeartbeatEnabled = true;
1✔
164
  private int pipeHeartbeatIntervalSecondsForCollectingPipeMeta = 100;
1✔
165
  private long pipeMetaSyncerInitialSyncDelayMinutes = 3;
1✔
166
  private long pipeMetaSyncerSyncIntervalMinutes = 3;
1✔
167

168
  /** Whether to use persistent schema mode. */
169
  private String schemaEngineMode = "Memory";
1✔
170

171
  /** Whether to enable Last cache. */
172
  private boolean lastCacheEnable = true;
1✔
173

174
  // Max size for tag and attribute of one time series
175
  private int tagAttributeTotalSize = 700;
1✔
176

177
  CommonConfig() {
1✔
178
    // Empty constructor
179
  }
1✔
180

181
  public void updatePath(String homeDir) {
182
    if (homeDir == null) {
1✔
183
      return;
1✔
184
    }
185

186
    File homeFile = new File(homeDir);
×
187
    try {
188
      homeDir = homeFile.getCanonicalPath();
×
189
    } catch (IOException e) {
×
190
      logger.error("Fail to get canonical path of {}", homeFile, e);
×
191
    }
×
192
    userFolder = FileUtils.addPrefix2FilePath(homeDir, userFolder);
×
193
    roleFolder = FileUtils.addPrefix2FilePath(homeDir, roleFolder);
×
194
    procedureWalFolder = FileUtils.addPrefix2FilePath(homeDir, procedureWalFolder);
×
195
    syncDir = FileUtils.addPrefix2FilePath(homeDir, syncDir);
×
196
    for (int i = 0; i < walDirs.length; i++) {
×
197
      walDirs[i] = FileUtils.addPrefix2FilePath(homeDir, walDirs[i]);
×
198
    }
199
  }
×
200

201
  public String getEncryptDecryptProvider() {
202
    return encryptDecryptProvider;
1✔
203
  }
204

205
  public void setEncryptDecryptProvider(String encryptDecryptProvider) {
206
    this.encryptDecryptProvider = encryptDecryptProvider;
1✔
207
  }
1✔
208

209
  public String getEncryptDecryptProviderParameter() {
210
    return encryptDecryptProviderParameter;
1✔
211
  }
212

213
  public void setEncryptDecryptProviderParameter(String encryptDecryptProviderParameter) {
214
    this.encryptDecryptProviderParameter = encryptDecryptProviderParameter;
1✔
215
  }
1✔
216

217
  public String getOpenIdProviderUrl() {
218
    return openIdProviderUrl;
1✔
219
  }
220

221
  public void setOpenIdProviderUrl(String openIdProviderUrl) {
222
    this.openIdProviderUrl = openIdProviderUrl;
1✔
223
  }
1✔
224

225
  public String getAuthorizerProvider() {
226
    return authorizerProvider;
1✔
227
  }
228

229
  public void setAuthorizerProvider(String authorizerProvider) {
230
    this.authorizerProvider = authorizerProvider;
1✔
231
  }
1✔
232

233
  public String getAdminName() {
234
    return adminName;
1✔
235
  }
236

237
  public void setAdminName(String adminName) {
238
    this.adminName = adminName;
×
239
  }
×
240

241
  public String getAdminPassword() {
242
    return adminPassword;
1✔
243
  }
244

245
  public void setAdminPassword(String adminPassword) {
246
    this.adminPassword = adminPassword;
×
247
  }
×
248

249
  public String getUserFolder() {
250
    return userFolder;
1✔
251
  }
252

253
  public void setUserFolder(String userFolder) {
254
    this.userFolder = userFolder;
1✔
255
  }
1✔
256

257
  public String getRoleFolder() {
258
    return roleFolder;
1✔
259
  }
260

261
  public void setRoleFolder(String roleFolder) {
262
    this.roleFolder = roleFolder;
1✔
263
  }
1✔
264

265
  public String getProcedureWalFolder() {
266
    return procedureWalFolder;
1✔
267
  }
268

269
  public void setProcedureWalFolder(String procedureWalFolder) {
270
    this.procedureWalFolder = procedureWalFolder;
1✔
271
  }
1✔
272

273
  public String getSyncDir() {
274
    return syncDir;
1✔
275
  }
276

277
  public void setSyncDir(String syncDir) {
278
    this.syncDir = syncDir;
1✔
279
  }
1✔
280

281
  public String[] getWalDirs() {
282
    return walDirs;
1✔
283
  }
284

285
  public void setWalDirs(String[] walDirs) {
286
    this.walDirs = walDirs;
1✔
287
  }
1✔
288

289
  public FSType getSystemFileStorageFs() {
290
    return systemFileStorageFs;
1✔
291
  }
292

293
  public void setSystemFileStorageFs(FSType systemFileStorageFs) {
294
    this.systemFileStorageFs = systemFileStorageFs;
×
295
  }
×
296

297
  public long getDefaultTTLInMs() {
298
    return tierTTLInMs[tierTTLInMs.length - 1];
1✔
299
  }
300

301
  public long[] getTierTTLInMs() {
302
    return tierTTLInMs;
1✔
303
  }
304

305
  public void setTierTTLInMs(long[] tierTTLInMs) {
306
    this.tierTTLInMs = tierTTLInMs;
1✔
307
  }
1✔
308

309
  public int getConnectionTimeoutInMS() {
310
    return connectionTimeoutInMS;
1✔
311
  }
312

313
  public void setConnectionTimeoutInMS(int connectionTimeoutInMS) {
314
    this.connectionTimeoutInMS = connectionTimeoutInMS;
1✔
315
  }
1✔
316

317
  public int getSelectorNumOfClientManager() {
318
    return selectorNumOfClientManager;
1✔
319
  }
320

321
  public void setSelectorNumOfClientManager(int selectorNumOfClientManager) {
322
    this.selectorNumOfClientManager = selectorNumOfClientManager;
1✔
323
  }
1✔
324

325
  public boolean isRpcThriftCompressionEnabled() {
326
    return isRpcThriftCompressionEnabled;
1✔
327
  }
328

329
  public void setRpcThriftCompressionEnabled(boolean rpcThriftCompressionEnabled) {
330
    isRpcThriftCompressionEnabled = rpcThriftCompressionEnabled;
1✔
331
  }
1✔
332

333
  public int getMaxClientNumForEachNode() {
334
    return maxClientNumForEachNode;
1✔
335
  }
336

337
  public void setMaxClientNumForEachNode(int maxClientNumForEachNode) {
338
    this.maxClientNumForEachNode = maxClientNumForEachNode;
1✔
339
  }
1✔
340

341
  public int getCoreClientNumForEachNode() {
342
    return coreClientNumForEachNode;
1✔
343
  }
344

345
  public void setCoreClientNumForEachNode(int coreClientNumForEachNode) {
346
    this.coreClientNumForEachNode = coreClientNumForEachNode;
1✔
347
  }
1✔
348

349
  HandleSystemErrorStrategy getHandleSystemErrorStrategy() {
350
    return handleSystemErrorStrategy;
1✔
351
  }
352

353
  void setHandleSystemErrorStrategy(HandleSystemErrorStrategy handleSystemErrorStrategy) {
354
    this.handleSystemErrorStrategy = handleSystemErrorStrategy;
1✔
355
  }
1✔
356

357
  public void handleUnrecoverableError() {
358
    handleSystemErrorStrategy.handle();
×
359
  }
×
360

361
  public double getDiskSpaceWarningThreshold() {
362
    return diskSpaceWarningThreshold;
1✔
363
  }
364

365
  public void setDiskSpaceWarningThreshold(double diskSpaceWarningThreshold) {
366
    this.diskSpaceWarningThreshold = diskSpaceWarningThreshold;
1✔
367
  }
1✔
368

369
  public boolean isReadOnly() {
370
    return status == NodeStatus.ReadOnly;
1✔
371
  }
372

373
  public NodeStatus getNodeStatus() {
374
    return status;
×
375
  }
376

377
  public void setNodeStatus(NodeStatus newStatus) {
378
    logger.info("Set system mode from {} to {}.", status, newStatus);
1✔
379
    this.status = newStatus;
1✔
380
    this.statusReason = null;
1✔
381

382
    switch (newStatus) {
1✔
383
      case ReadOnly:
384
        logger.warn("Change system status to ReadOnly! Only query statements are permitted!");
1✔
385
        break;
1✔
386
      case Removing:
387
        logger.info(
×
388
            "Change system status to Removing! The current Node is being removed from cluster!");
389
        break;
×
390
      default:
391
        break;
392
    }
393
  }
1✔
394

395
  public String getStatusReason() {
396
    return statusReason;
×
397
  }
398

399
  public void setStatusReason(String statusReason) {
400
    this.statusReason = statusReason;
×
401
  }
×
402

403
  public NodeStatus getStatus() {
404
    return status;
×
405
  }
406

407
  public void setStatus(NodeStatus status) {
408
    this.status = status;
×
409
  }
×
410

411
  public TEndPoint getTargetMLNodeEndPoint() {
412
    return targetMLNodeEndPoint;
1✔
413
  }
414

415
  public void setTargetMLNodeEndPoint(TEndPoint targetMLNodeEndPoint) {
416
    this.targetMLNodeEndPoint = targetMLNodeEndPoint;
1✔
417
  }
1✔
418

419
  public int getTTimePartitionSlotTransmitLimit() {
420
    return TTimePartitionSlotTransmitLimit;
1✔
421
  }
422

423
  public boolean isStopping() {
424
    return isStopping;
×
425
  }
426

427
  public void setStopping(boolean stopping) {
428
    isStopping = stopping;
×
429
  }
×
430

431
  public long getTimePartitionInterval() {
432
    return timePartitionInterval;
1✔
433
  }
434

435
  public void setTimePartitionInterval(long timePartitionInterval) {
436
    this.timePartitionInterval = timePartitionInterval;
1✔
437
  }
1✔
438

439
  public void setTimestampPrecision(String timestampPrecision) {
440
    if (!("ms".equals(timestampPrecision)
1✔
441
        || "us".equals(timestampPrecision)
1✔
442
        || "ns".equals(timestampPrecision))) {
1✔
443
      logger.error(
×
444
          "Wrong timestamp precision, please set as: ms, us or ns ! Current is: {}",
445
          timestampPrecision);
446
      System.exit(-1);
×
447
    }
448
    this.timestampPrecision = timestampPrecision;
1✔
449
  }
1✔
450

451
  public String getTimestampPrecision() {
452
    return timestampPrecision;
1✔
453
  }
454

455
  public String getPipeHardlinkTsFileDirName() {
456
    return pipeHardlinkTsFileDirName;
1✔
457
  }
458

459
  public void setPipeHardlinkTsFileDirName(String pipeHardlinkTsFileDirName) {
460
    this.pipeHardlinkTsFileDirName = pipeHardlinkTsFileDirName;
1✔
461
  }
1✔
462

463
  public int getPipeDataStructureTabletRowSize() {
464
    return pipeDataStructureTabletRowSize;
1✔
465
  }
466

467
  public void setPipeDataStructureTabletRowSize(int pipeDataStructureTabletRowSize) {
468
    this.pipeDataStructureTabletRowSize = pipeDataStructureTabletRowSize;
1✔
469
  }
1✔
470

471
  public int getPipeExtractorAssignerDisruptorRingBufferSize() {
472
    return pipeExtractorAssignerDisruptorRingBufferSize;
1✔
473
  }
474

475
  public void setPipeExtractorAssignerDisruptorRingBufferSize(
476
      int pipeExtractorAssignerDisruptorRingBufferSize) {
477
    this.pipeExtractorAssignerDisruptorRingBufferSize =
1✔
478
        pipeExtractorAssignerDisruptorRingBufferSize;
479
  }
1✔
480

481
  public int getPipeExtractorMatcherCacheSize() {
482
    return pipeExtractorMatcherCacheSize;
1✔
483
  }
484

485
  public void setPipeExtractorMatcherCacheSize(int pipeExtractorMatcherCacheSize) {
486
    this.pipeExtractorMatcherCacheSize = pipeExtractorMatcherCacheSize;
1✔
487
  }
1✔
488

489
  public int getPipeExtractorPendingQueueCapacity() {
490
    return pipeExtractorPendingQueueCapacity;
1✔
491
  }
492

493
  public void setPipeExtractorPendingQueueCapacity(int pipeExtractorPendingQueueCapacity) {
494
    this.pipeExtractorPendingQueueCapacity = pipeExtractorPendingQueueCapacity;
1✔
495
  }
1✔
496

497
  public int getPipeExtractorPendingQueueTabletLimit() {
498
    return pipeExtractorPendingQueueTabletLimit;
1✔
499
  }
500

501
  public void setPipeExtractorPendingQueueTabletLimit(int pipeExtractorPendingQueueTabletLimit) {
502
    this.pipeExtractorPendingQueueTabletLimit = pipeExtractorPendingQueueTabletLimit;
1✔
503
  }
1✔
504

505
  public int getPipeConnectorReadFileBufferSize() {
506
    return pipeConnectorReadFileBufferSize;
1✔
507
  }
508

509
  public void setPipeConnectorReadFileBufferSize(int pipeConnectorReadFileBufferSize) {
510
    this.pipeConnectorReadFileBufferSize = pipeConnectorReadFileBufferSize;
1✔
511
  }
1✔
512

513
  public boolean isSeperatedPipeHeartbeatEnabled() {
514
    return isSeperatedPipeHeartbeatEnabled;
1✔
515
  }
516

517
  public void setSeperatedPipeHeartbeatEnabled(boolean isSeperatedPipeHeartbeatEnabled) {
518
    this.isSeperatedPipeHeartbeatEnabled = isSeperatedPipeHeartbeatEnabled;
1✔
519
  }
1✔
520

521
  public int getPipeHeartbeatIntervalSecondsForCollectingPipeMeta() {
522
    return pipeHeartbeatIntervalSecondsForCollectingPipeMeta;
1✔
523
  }
524

525
  public void setPipeHeartbeatIntervalSecondsForCollectingPipeMeta(
526
      int pipeHeartbeatIntervalSecondsForCollectingPipeMeta) {
527
    this.pipeHeartbeatIntervalSecondsForCollectingPipeMeta =
1✔
528
        pipeHeartbeatIntervalSecondsForCollectingPipeMeta;
529
  }
1✔
530

531
  public long getPipeMetaSyncerInitialSyncDelayMinutes() {
532
    return pipeMetaSyncerInitialSyncDelayMinutes;
1✔
533
  }
534

535
  public void setPipeMetaSyncerInitialSyncDelayMinutes(long pipeMetaSyncerInitialSyncDelayMinutes) {
536
    this.pipeMetaSyncerInitialSyncDelayMinutes = pipeMetaSyncerInitialSyncDelayMinutes;
1✔
537
  }
1✔
538

539
  public long getPipeMetaSyncerSyncIntervalMinutes() {
540
    return pipeMetaSyncerSyncIntervalMinutes;
1✔
541
  }
542

543
  public void setPipeMetaSyncerSyncIntervalMinutes(long pipeMetaSyncerSyncIntervalMinutes) {
544
    this.pipeMetaSyncerSyncIntervalMinutes = pipeMetaSyncerSyncIntervalMinutes;
1✔
545
  }
1✔
546

547
  public long getPipeConnectorRetryIntervalMs() {
548
    return pipeConnectorRetryIntervalMs;
1✔
549
  }
550

551
  public void setPipeConnectorRetryIntervalMs(long pipeConnectorRetryIntervalMs) {
552
    this.pipeConnectorRetryIntervalMs = pipeConnectorRetryIntervalMs;
1✔
553
  }
1✔
554

555
  public int getPipeConnectorPendingQueueSize() {
556
    return pipeConnectorPendingQueueSize;
1✔
557
  }
558

559
  public void setPipeConnectorPendingQueueSize(int pipeConnectorPendingQueueSize) {
560
    this.pipeConnectorPendingQueueSize = pipeConnectorPendingQueueSize;
1✔
561
  }
1✔
562

563
  public int getPipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount() {
564
    return pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount;
1✔
565
  }
566

567
  public void setPipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount(
568
      int pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount) {
569
    this.pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount =
1✔
570
        pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount;
571
  }
1✔
572

573
  public long getPipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration() {
574
    return pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration;
1✔
575
  }
576

577
  public void setPipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration(
578
      long pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration) {
579
    this.pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration =
1✔
580
        pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration;
581
  }
1✔
582

583
  public int getPipeSubtaskExecutorMaxThreadNum() {
584
    return pipeSubtaskExecutorMaxThreadNum;
1✔
585
  }
586

587
  public void setPipeSubtaskExecutorMaxThreadNum(int pipeSubtaskExecutorMaxThreadNum) {
588
    this.pipeSubtaskExecutorMaxThreadNum = pipeSubtaskExecutorMaxThreadNum;
1✔
589
  }
1✔
590

591
  public long getPipeSubtaskExecutorPendingQueueMaxBlockingTimeMs() {
592
    return pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs;
1✔
593
  }
594

595
  public void setPipeSubtaskExecutorPendingQueueMaxBlockingTimeMs(
596
      long pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs) {
597
    this.pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs =
1✔
598
        pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs;
599
  }
1✔
600

601
  public String getSchemaEngineMode() {
602
    return schemaEngineMode;
1✔
603
  }
604

605
  public void setSchemaEngineMode(String schemaEngineMode) {
606
    this.schemaEngineMode = schemaEngineMode;
1✔
607
  }
1✔
608

609
  public boolean isLastCacheEnable() {
610
    return lastCacheEnable;
1✔
611
  }
612

613
  public void setLastCacheEnable(boolean lastCacheEnable) {
614
    this.lastCacheEnable = lastCacheEnable;
1✔
615
  }
1✔
616

617
  public int getTagAttributeTotalSize() {
618
    return tagAttributeTotalSize;
1✔
619
  }
620

621
  public void setTagAttributeTotalSize(int tagAttributeTotalSize) {
622
    this.tagAttributeTotalSize = tagAttributeTotalSize;
1✔
623
  }
1✔
624
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc