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

apache / iotdb / #9867

18 Aug 2023 06:05AM UTC coverage: 48.003% (-0.08%) from 48.081%
#9867

push

travis_ci

web-flow
[To rel/1.2] [IOTDB-6115] Fix Limit & Offset push down doesn't take effect while there exist null value

103 of 103 new or added lines in 23 files covered. (100.0%)

79802 of 166243 relevant lines covered (48.0%)

0.48 hits per line

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

87.68
/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 pipeHardlinkBaseDirName = "pipe";
1✔
145

146
  private String pipeHardlinkTsFileDirName = "tsfile";
1✔
147

148
  private String pipeHardlinkWALDirName = "wal";
1✔
149

150
  private boolean pipeHardLinkWALEnabled = false;
1✔
151

152
  /** The maximum number of threads that can be used to execute subtasks in PipeSubtaskExecutor. */
153
  private int pipeSubtaskExecutorMaxThreadNum =
1✔
154
      Math.min(5, Math.max(1, Runtime.getRuntime().availableProcessors() / 2));
1✔
155

156
  private int pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount = 10_000;
1✔
157
  private long pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration = 10 * 1000L;
1✔
158
  private long pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs = 1000;
1✔
159

160
  private int pipeExtractorAssignerDisruptorRingBufferSize = 65536;
1✔
161
  private int pipeExtractorMatcherCacheSize = 1024;
1✔
162
  private int pipeExtractorPendingQueueCapacity = 16;
1✔
163
  private int pipeExtractorPendingQueueTabletLimit = pipeExtractorPendingQueueCapacity / 2;
1✔
164
  private int pipeDataStructureTabletRowSize = 2048;
1✔
165

166
  private long pipeConnectorTimeoutMs = 15 * 60 * 1000L; // 15 minutes
1✔
167
  private int pipeConnectorReadFileBufferSize = 8388608;
1✔
168
  private long pipeConnectorRetryIntervalMs = 1000L;
1✔
169
  private int pipeConnectorPendingQueueSize = 16;
1✔
170
  private boolean pipeConnectorRPCThriftCompressionEnabled = false;
1✔
171

172
  private int pipeAsyncConnectorSelectorNumber = 1;
1✔
173
  private int pipeAsyncConnectorCoreClientNumber = 8;
1✔
174
  private int pipeAsyncConnectorMaxClientNumber = 16;
1✔
175

176
  private boolean isSeperatedPipeHeartbeatEnabled = true;
1✔
177
  private int pipeHeartbeatIntervalSecondsForCollectingPipeMeta = 100;
1✔
178
  private long pipeMetaSyncerInitialSyncDelayMinutes = 3;
1✔
179
  private long pipeMetaSyncerSyncIntervalMinutes = 3;
1✔
180
  private long pipeMetaSyncerAutoRestartPipeCheckIntervalRound = 1;
1✔
181
  private boolean pipeAutoRestartEnabled = true;
1✔
182

183
  private boolean pipeAirGapReceiverEnabled = false;
1✔
184
  private int pipeAirGapReceiverPort = 9780;
1✔
185

186
  /** Whether to use persistent schema mode. */
187
  private String schemaEngineMode = "Memory";
1✔
188

189
  /** Whether to enable Last cache. */
190
  private boolean lastCacheEnable = true;
1✔
191

192
  // Max size for tag and attribute of one time series
193
  private int tagAttributeTotalSize = 700;
1✔
194

195
  // maximum number of Cluster Databases allowed
196
  private int databaseLimitThreshold = -1;
1✔
197

198
  CommonConfig() {
1✔
199
    // Empty constructor
200
  }
1✔
201

202
  public void updatePath(String homeDir) {
203
    if (homeDir == null) {
1✔
204
      return;
1✔
205
    }
206

207
    File homeFile = new File(homeDir);
×
208
    try {
209
      homeDir = homeFile.getCanonicalPath();
×
210
    } catch (IOException e) {
×
211
      logger.error("Fail to get canonical path of {}", homeFile, e);
×
212
    }
×
213
    userFolder = FileUtils.addPrefix2FilePath(homeDir, userFolder);
×
214
    roleFolder = FileUtils.addPrefix2FilePath(homeDir, roleFolder);
×
215
    procedureWalFolder = FileUtils.addPrefix2FilePath(homeDir, procedureWalFolder);
×
216
    syncDir = FileUtils.addPrefix2FilePath(homeDir, syncDir);
×
217
    for (int i = 0; i < walDirs.length; i++) {
×
218
      walDirs[i] = FileUtils.addPrefix2FilePath(homeDir, walDirs[i]);
×
219
    }
220
  }
×
221

222
  public String getEncryptDecryptProvider() {
223
    return encryptDecryptProvider;
1✔
224
  }
225

226
  public void setEncryptDecryptProvider(String encryptDecryptProvider) {
227
    this.encryptDecryptProvider = encryptDecryptProvider;
1✔
228
  }
1✔
229

230
  public String getEncryptDecryptProviderParameter() {
231
    return encryptDecryptProviderParameter;
1✔
232
  }
233

234
  public void setEncryptDecryptProviderParameter(String encryptDecryptProviderParameter) {
235
    this.encryptDecryptProviderParameter = encryptDecryptProviderParameter;
1✔
236
  }
1✔
237

238
  public String getOpenIdProviderUrl() {
239
    return openIdProviderUrl;
1✔
240
  }
241

242
  public void setOpenIdProviderUrl(String openIdProviderUrl) {
243
    this.openIdProviderUrl = openIdProviderUrl;
1✔
244
  }
1✔
245

246
  public String getAuthorizerProvider() {
247
    return authorizerProvider;
1✔
248
  }
249

250
  public void setAuthorizerProvider(String authorizerProvider) {
251
    this.authorizerProvider = authorizerProvider;
1✔
252
  }
1✔
253

254
  public String getAdminName() {
255
    return adminName;
1✔
256
  }
257

258
  public void setAdminName(String adminName) {
259
    this.adminName = adminName;
×
260
  }
×
261

262
  public String getAdminPassword() {
263
    return adminPassword;
1✔
264
  }
265

266
  public void setAdminPassword(String adminPassword) {
267
    this.adminPassword = adminPassword;
×
268
  }
×
269

270
  public String getUserFolder() {
271
    return userFolder;
1✔
272
  }
273

274
  public void setUserFolder(String userFolder) {
275
    this.userFolder = userFolder;
1✔
276
  }
1✔
277

278
  public String getRoleFolder() {
279
    return roleFolder;
1✔
280
  }
281

282
  public void setRoleFolder(String roleFolder) {
283
    this.roleFolder = roleFolder;
1✔
284
  }
1✔
285

286
  public String getProcedureWalFolder() {
287
    return procedureWalFolder;
1✔
288
  }
289

290
  public void setProcedureWalFolder(String procedureWalFolder) {
291
    this.procedureWalFolder = procedureWalFolder;
1✔
292
  }
1✔
293

294
  public String getSyncDir() {
295
    return syncDir;
1✔
296
  }
297

298
  public void setSyncDir(String syncDir) {
299
    this.syncDir = syncDir;
1✔
300
  }
1✔
301

302
  public String[] getWalDirs() {
303
    return walDirs;
1✔
304
  }
305

306
  public void setWalDirs(String[] walDirs) {
307
    this.walDirs = walDirs;
1✔
308
  }
1✔
309

310
  public FSType getSystemFileStorageFs() {
311
    return systemFileStorageFs;
1✔
312
  }
313

314
  public void setSystemFileStorageFs(FSType systemFileStorageFs) {
315
    this.systemFileStorageFs = systemFileStorageFs;
×
316
  }
×
317

318
  public long getDefaultTTLInMs() {
319
    return tierTTLInMs[tierTTLInMs.length - 1];
1✔
320
  }
321

322
  public long[] getTierTTLInMs() {
323
    return tierTTLInMs;
1✔
324
  }
325

326
  public void setTierTTLInMs(long[] tierTTLInMs) {
327
    this.tierTTLInMs = tierTTLInMs;
1✔
328
  }
1✔
329

330
  public int getConnectionTimeoutInMS() {
331
    return connectionTimeoutInMS;
1✔
332
  }
333

334
  public void setConnectionTimeoutInMS(int connectionTimeoutInMS) {
335
    this.connectionTimeoutInMS = connectionTimeoutInMS;
1✔
336
  }
1✔
337

338
  public int getSelectorNumOfClientManager() {
339
    return selectorNumOfClientManager;
1✔
340
  }
341

342
  public void setSelectorNumOfClientManager(int selectorNumOfClientManager) {
343
    this.selectorNumOfClientManager = selectorNumOfClientManager;
1✔
344
  }
1✔
345

346
  public boolean isRpcThriftCompressionEnabled() {
347
    return isRpcThriftCompressionEnabled;
1✔
348
  }
349

350
  public void setRpcThriftCompressionEnabled(boolean rpcThriftCompressionEnabled) {
351
    isRpcThriftCompressionEnabled = rpcThriftCompressionEnabled;
1✔
352
  }
1✔
353

354
  public int getMaxClientNumForEachNode() {
355
    return maxClientNumForEachNode;
1✔
356
  }
357

358
  public void setMaxClientNumForEachNode(int maxClientNumForEachNode) {
359
    this.maxClientNumForEachNode = maxClientNumForEachNode;
1✔
360
  }
1✔
361

362
  public int getCoreClientNumForEachNode() {
363
    return coreClientNumForEachNode;
1✔
364
  }
365

366
  public void setCoreClientNumForEachNode(int coreClientNumForEachNode) {
367
    this.coreClientNumForEachNode = coreClientNumForEachNode;
1✔
368
  }
1✔
369

370
  HandleSystemErrorStrategy getHandleSystemErrorStrategy() {
371
    return handleSystemErrorStrategy;
1✔
372
  }
373

374
  void setHandleSystemErrorStrategy(HandleSystemErrorStrategy handleSystemErrorStrategy) {
375
    this.handleSystemErrorStrategy = handleSystemErrorStrategy;
1✔
376
  }
1✔
377

378
  public void handleUnrecoverableError() {
379
    handleSystemErrorStrategy.handle();
×
380
  }
×
381

382
  public double getDiskSpaceWarningThreshold() {
383
    return diskSpaceWarningThreshold;
1✔
384
  }
385

386
  public void setDiskSpaceWarningThreshold(double diskSpaceWarningThreshold) {
387
    this.diskSpaceWarningThreshold = diskSpaceWarningThreshold;
1✔
388
  }
1✔
389

390
  public boolean isReadOnly() {
391
    return status == NodeStatus.ReadOnly;
1✔
392
  }
393

394
  public NodeStatus getNodeStatus() {
395
    return status;
×
396
  }
397

398
  public void setNodeStatus(NodeStatus newStatus) {
399
    logger.info("Set system mode from {} to {}.", status, newStatus);
1✔
400
    this.status = newStatus;
1✔
401
    this.statusReason = null;
1✔
402

403
    switch (newStatus) {
1✔
404
      case ReadOnly:
405
        logger.warn("Change system status to ReadOnly! Only query statements are permitted!");
1✔
406
        break;
1✔
407
      case Removing:
408
        logger.info(
×
409
            "Change system status to Removing! The current Node is being removed from cluster!");
410
        break;
×
411
      default:
412
        break;
413
    }
414
  }
1✔
415

416
  public String getStatusReason() {
417
    return statusReason;
×
418
  }
419

420
  public void setStatusReason(String statusReason) {
421
    this.statusReason = statusReason;
×
422
  }
×
423

424
  public NodeStatus getStatus() {
425
    return status;
×
426
  }
427

428
  public void setStatus(NodeStatus status) {
429
    this.status = status;
×
430
  }
×
431

432
  public TEndPoint getTargetMLNodeEndPoint() {
433
    return targetMLNodeEndPoint;
1✔
434
  }
435

436
  public void setTargetMLNodeEndPoint(TEndPoint targetMLNodeEndPoint) {
437
    this.targetMLNodeEndPoint = targetMLNodeEndPoint;
1✔
438
  }
1✔
439

440
  public int getTTimePartitionSlotTransmitLimit() {
441
    return TTimePartitionSlotTransmitLimit;
1✔
442
  }
443

444
  public boolean isStopping() {
445
    return isStopping;
×
446
  }
447

448
  public void setStopping(boolean stopping) {
449
    isStopping = stopping;
×
450
  }
×
451

452
  public long getTimePartitionInterval() {
453
    return timePartitionInterval;
1✔
454
  }
455

456
  public void setTimePartitionInterval(long timePartitionInterval) {
457
    this.timePartitionInterval = timePartitionInterval;
1✔
458
  }
1✔
459

460
  public void setTimestampPrecision(String timestampPrecision) {
461
    if (!("ms".equals(timestampPrecision)
1✔
462
        || "us".equals(timestampPrecision)
1✔
463
        || "ns".equals(timestampPrecision))) {
1✔
464
      logger.error(
×
465
          "Wrong timestamp precision, please set as: ms, us or ns ! Current is: {}",
466
          timestampPrecision);
467
      System.exit(-1);
×
468
    }
469
    this.timestampPrecision = timestampPrecision;
1✔
470
  }
1✔
471

472
  public String getTimestampPrecision() {
473
    return timestampPrecision;
1✔
474
  }
475

476
  public String getPipeHardlinkBaseDirName() {
477
    return pipeHardlinkBaseDirName;
1✔
478
  }
479

480
  public void setPipeHardlinkBaseDirName(String pipeHardlinkBaseDirName) {
481
    this.pipeHardlinkBaseDirName = pipeHardlinkBaseDirName;
1✔
482
  }
1✔
483

484
  public String getPipeHardlinkTsFileDirName() {
485
    return pipeHardlinkTsFileDirName;
1✔
486
  }
487

488
  public void setPipeHardlinkTsFileDirName(String pipeTsFileDirName) {
489
    this.pipeHardlinkTsFileDirName = pipeTsFileDirName;
1✔
490
  }
1✔
491

492
  public String getPipeHardlinkWALDirName() {
493
    return pipeHardlinkWALDirName;
1✔
494
  }
495

496
  public void setPipeHardlinkWALDirName(String pipeWALDirName) {
497
    this.pipeHardlinkWALDirName = pipeWALDirName;
1✔
498
  }
1✔
499

500
  public boolean getPipeHardLinkWALEnabled() {
501
    return pipeHardLinkWALEnabled;
1✔
502
  }
503

504
  public void setPipeHardLinkWALEnabled(boolean pipeHardLinkWALEnabled) {
505
    this.pipeHardLinkWALEnabled = pipeHardLinkWALEnabled;
1✔
506
  }
1✔
507

508
  public int getPipeDataStructureTabletRowSize() {
509
    return pipeDataStructureTabletRowSize;
1✔
510
  }
511

512
  public void setPipeDataStructureTabletRowSize(int pipeDataStructureTabletRowSize) {
513
    this.pipeDataStructureTabletRowSize = pipeDataStructureTabletRowSize;
1✔
514
  }
1✔
515

516
  public int getPipeExtractorAssignerDisruptorRingBufferSize() {
517
    return pipeExtractorAssignerDisruptorRingBufferSize;
1✔
518
  }
519

520
  public void setPipeExtractorAssignerDisruptorRingBufferSize(
521
      int pipeExtractorAssignerDisruptorRingBufferSize) {
522
    this.pipeExtractorAssignerDisruptorRingBufferSize =
1✔
523
        pipeExtractorAssignerDisruptorRingBufferSize;
524
  }
1✔
525

526
  public int getPipeExtractorMatcherCacheSize() {
527
    return pipeExtractorMatcherCacheSize;
1✔
528
  }
529

530
  public void setPipeExtractorMatcherCacheSize(int pipeExtractorMatcherCacheSize) {
531
    this.pipeExtractorMatcherCacheSize = pipeExtractorMatcherCacheSize;
1✔
532
  }
1✔
533

534
  public int getPipeExtractorPendingQueueCapacity() {
535
    return pipeExtractorPendingQueueCapacity;
1✔
536
  }
537

538
  public void setPipeExtractorPendingQueueCapacity(int pipeExtractorPendingQueueCapacity) {
539
    this.pipeExtractorPendingQueueCapacity = pipeExtractorPendingQueueCapacity;
1✔
540
  }
1✔
541

542
  public int getPipeExtractorPendingQueueTabletLimit() {
543
    return pipeExtractorPendingQueueTabletLimit;
1✔
544
  }
545

546
  public void setPipeExtractorPendingQueueTabletLimit(int pipeExtractorPendingQueueTabletLimit) {
547
    this.pipeExtractorPendingQueueTabletLimit = pipeExtractorPendingQueueTabletLimit;
1✔
548
  }
1✔
549

550
  public long getPipeConnectorTimeoutMs() {
551
    return pipeConnectorTimeoutMs;
1✔
552
  }
553

554
  public void setPipeConnectorTimeoutMs(long pipeConnectorTimeoutMs) {
555
    this.pipeConnectorTimeoutMs = pipeConnectorTimeoutMs;
1✔
556
  }
1✔
557

558
  public int getPipeConnectorReadFileBufferSize() {
559
    return pipeConnectorReadFileBufferSize;
1✔
560
  }
561

562
  public void setPipeConnectorReadFileBufferSize(int pipeConnectorReadFileBufferSize) {
563
    this.pipeConnectorReadFileBufferSize = pipeConnectorReadFileBufferSize;
1✔
564
  }
1✔
565

566
  public void setPipeConnectorRPCThriftCompressionEnabled(
567
      boolean pipeConnectorRPCThriftCompressionEnabled) {
568
    this.pipeConnectorRPCThriftCompressionEnabled = pipeConnectorRPCThriftCompressionEnabled;
1✔
569
  }
1✔
570

571
  public boolean isPipeConnectorRPCThriftCompressionEnabled() {
572
    return pipeConnectorRPCThriftCompressionEnabled;
1✔
573
  }
574

575
  public int getPipeAsyncConnectorSelectorNumber() {
576
    return pipeAsyncConnectorSelectorNumber;
1✔
577
  }
578

579
  public void setPipeAsyncConnectorSelectorNumber(int pipeAsyncConnectorSelectorNumber) {
580
    this.pipeAsyncConnectorSelectorNumber = pipeAsyncConnectorSelectorNumber;
1✔
581
  }
1✔
582

583
  public int getPipeAsyncConnectorCoreClientNumber() {
584
    return pipeAsyncConnectorCoreClientNumber;
1✔
585
  }
586

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

591
  public int getPipeAsyncConnectorMaxClientNumber() {
592
    return pipeAsyncConnectorMaxClientNumber;
1✔
593
  }
594

595
  public void setPipeAsyncConnectorMaxClientNumber(int pipeAsyncConnectorMaxClientNumber) {
596
    this.pipeAsyncConnectorMaxClientNumber = pipeAsyncConnectorMaxClientNumber;
1✔
597
  }
1✔
598

599
  public boolean isSeperatedPipeHeartbeatEnabled() {
600
    return isSeperatedPipeHeartbeatEnabled;
1✔
601
  }
602

603
  public void setSeperatedPipeHeartbeatEnabled(boolean isSeperatedPipeHeartbeatEnabled) {
604
    this.isSeperatedPipeHeartbeatEnabled = isSeperatedPipeHeartbeatEnabled;
1✔
605
  }
1✔
606

607
  public int getPipeHeartbeatIntervalSecondsForCollectingPipeMeta() {
608
    return pipeHeartbeatIntervalSecondsForCollectingPipeMeta;
1✔
609
  }
610

611
  public void setPipeHeartbeatIntervalSecondsForCollectingPipeMeta(
612
      int pipeHeartbeatIntervalSecondsForCollectingPipeMeta) {
613
    this.pipeHeartbeatIntervalSecondsForCollectingPipeMeta =
1✔
614
        pipeHeartbeatIntervalSecondsForCollectingPipeMeta;
615
  }
1✔
616

617
  public long getPipeMetaSyncerInitialSyncDelayMinutes() {
618
    return pipeMetaSyncerInitialSyncDelayMinutes;
1✔
619
  }
620

621
  public void setPipeMetaSyncerInitialSyncDelayMinutes(long pipeMetaSyncerInitialSyncDelayMinutes) {
622
    this.pipeMetaSyncerInitialSyncDelayMinutes = pipeMetaSyncerInitialSyncDelayMinutes;
1✔
623
  }
1✔
624

625
  public long getPipeMetaSyncerSyncIntervalMinutes() {
626
    return pipeMetaSyncerSyncIntervalMinutes;
1✔
627
  }
628

629
  public void setPipeMetaSyncerSyncIntervalMinutes(long pipeMetaSyncerSyncIntervalMinutes) {
630
    this.pipeMetaSyncerSyncIntervalMinutes = pipeMetaSyncerSyncIntervalMinutes;
1✔
631
  }
1✔
632

633
  public long getPipeMetaSyncerAutoRestartPipeCheckIntervalRound() {
634
    return pipeMetaSyncerAutoRestartPipeCheckIntervalRound;
1✔
635
  }
636

637
  public void setPipeMetaSyncerAutoRestartPipeCheckIntervalRound(
638
      long pipeMetaSyncerAutoRestartPipeCheckIntervalRound) {
639
    this.pipeMetaSyncerAutoRestartPipeCheckIntervalRound =
1✔
640
        pipeMetaSyncerAutoRestartPipeCheckIntervalRound;
641
  }
1✔
642

643
  public boolean getPipeAutoRestartEnabled() {
644
    return pipeAutoRestartEnabled;
1✔
645
  }
646

647
  public void setPipeAutoRestartEnabled(boolean pipeAutoRestartEnabled) {
648
    this.pipeAutoRestartEnabled = pipeAutoRestartEnabled;
1✔
649
  }
1✔
650

651
  public long getPipeConnectorRetryIntervalMs() {
652
    return pipeConnectorRetryIntervalMs;
1✔
653
  }
654

655
  public void setPipeConnectorRetryIntervalMs(long pipeConnectorRetryIntervalMs) {
656
    this.pipeConnectorRetryIntervalMs = pipeConnectorRetryIntervalMs;
1✔
657
  }
1✔
658

659
  public int getPipeConnectorPendingQueueSize() {
660
    return pipeConnectorPendingQueueSize;
1✔
661
  }
662

663
  public void setPipeConnectorPendingQueueSize(int pipeConnectorPendingQueueSize) {
664
    this.pipeConnectorPendingQueueSize = pipeConnectorPendingQueueSize;
1✔
665
  }
1✔
666

667
  public int getPipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount() {
668
    return pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount;
1✔
669
  }
670

671
  public void setPipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount(
672
      int pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount) {
673
    this.pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount =
1✔
674
        pipeSubtaskExecutorBasicCheckPointIntervalByConsumedEventCount;
675
  }
1✔
676

677
  public long getPipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration() {
678
    return pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration;
1✔
679
  }
680

681
  public void setPipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration(
682
      long pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration) {
683
    this.pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration =
1✔
684
        pipeSubtaskExecutorBasicCheckPointIntervalByTimeDuration;
685
  }
1✔
686

687
  public int getPipeSubtaskExecutorMaxThreadNum() {
688
    return pipeSubtaskExecutorMaxThreadNum;
1✔
689
  }
690

691
  public void setPipeSubtaskExecutorMaxThreadNum(int pipeSubtaskExecutorMaxThreadNum) {
692
    this.pipeSubtaskExecutorMaxThreadNum =
1✔
693
        Math.min(
1✔
694
            pipeSubtaskExecutorMaxThreadNum,
695
            Math.max(1, Runtime.getRuntime().availableProcessors() / 2));
1✔
696
  }
1✔
697

698
  public long getPipeSubtaskExecutorPendingQueueMaxBlockingTimeMs() {
699
    return pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs;
1✔
700
  }
701

702
  public void setPipeSubtaskExecutorPendingQueueMaxBlockingTimeMs(
703
      long pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs) {
704
    this.pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs =
1✔
705
        pipeSubtaskExecutorPendingQueueMaxBlockingTimeMs;
706
  }
1✔
707

708
  public void setPipeAirGapReceiverEnabled(boolean pipeAirGapReceiverEnabled) {
709
    this.pipeAirGapReceiverEnabled = pipeAirGapReceiverEnabled;
1✔
710
  }
1✔
711

712
  public boolean getPipeAirGapReceiverEnabled() {
713
    return pipeAirGapReceiverEnabled;
1✔
714
  }
715

716
  public void setPipeAirGapReceiverPort(int pipeAirGapReceiverPort) {
717
    this.pipeAirGapReceiverPort = pipeAirGapReceiverPort;
1✔
718
  }
1✔
719

720
  public int getPipeAirGapReceiverPort() {
721
    return pipeAirGapReceiverPort;
1✔
722
  }
723

724
  public String getSchemaEngineMode() {
725
    return schemaEngineMode;
1✔
726
  }
727

728
  public void setSchemaEngineMode(String schemaEngineMode) {
729
    this.schemaEngineMode = schemaEngineMode;
1✔
730
  }
1✔
731

732
  public boolean isLastCacheEnable() {
733
    return lastCacheEnable;
1✔
734
  }
735

736
  public void setLastCacheEnable(boolean lastCacheEnable) {
737
    this.lastCacheEnable = lastCacheEnable;
1✔
738
  }
1✔
739

740
  public int getTagAttributeTotalSize() {
741
    return tagAttributeTotalSize;
1✔
742
  }
743

744
  public void setTagAttributeTotalSize(int tagAttributeTotalSize) {
745
    this.tagAttributeTotalSize = tagAttributeTotalSize;
1✔
746
  }
1✔
747

748
  public int getDatabaseLimitThreshold() {
749
    return databaseLimitThreshold;
1✔
750
  }
751

752
  public void setDatabaseLimitThreshold(int databaseLimitThreshold) {
753
    this.databaseLimitThreshold = databaseLimitThreshold;
1✔
754
  }
1✔
755
}
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