Class ExtPipePluginConfiguration.Builder
- java.lang.Object
-
- org.apache.iotdb.db.sync.externalpipe.ExtPipePluginConfiguration.Builder
-
- Enclosing class:
- ExtPipePluginConfiguration
public static class ExtPipePluginConfiguration.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String pipeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtPipePluginConfiguration.BuilderattemptTimes(int attemptTimes)Set the maximum attempt times of handling an operation.ExtPipePluginConfiguration.BuilderbackOffInterval(int backOffInterval)Set the backoff interval on the failure of handling an operation.ExtPipePluginConfigurationbuild()ExtPipePluginConfiguration.BuildernumOfThreads(int numOfThreads)Set the degree of parallelism of the data transmission.ExtPipePluginConfiguration.BuilderoperationBatchSize(int operationBatchSize)Set the maximum number of operations to get from the pipe source.
-
-
-
Method Detail
-
numOfThreads
public ExtPipePluginConfiguration.Builder numOfThreads(int numOfThreads)
Set the degree of parallelism of the data transmission.
-
attemptTimes
public ExtPipePluginConfiguration.Builder attemptTimes(int attemptTimes)
Set the maximum attempt times of handling an operation.
-
backOffInterval
public ExtPipePluginConfiguration.Builder backOffInterval(int backOffInterval)
Set the backoff interval on the failure of handling an operation.
-
operationBatchSize
public ExtPipePluginConfiguration.Builder operationBatchSize(int operationBatchSize)
Set the maximum number of operations to get from the pipe source.
-
build
public ExtPipePluginConfiguration build()
-
-