public class TimeseriesWriterConfig extends Object
| 构造器和说明 |
|---|
TimeseriesWriterConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBucketCount() |
int |
getBufferSize()
Get the size of the memory buffer queue for a TableStoreWriter, which must be a power of 2.
|
int |
getCallbackThreadCount() |
int |
getCallbackThreadPoolQueueSize() |
int |
getClientMaxConnections() |
int |
getConcurrency()
Get the maximum request concurrency for a TableStoreWriter.
|
TSDispatchMode |
getDispatchMode() |
int |
getFlushInterval()
Set the automatic flush time interval for the writer, in milliseconds.
|
int |
getLogInterval() |
int |
getMaxBatchRowsCount()
Get the maximum number of rows for a single batch RPC request import.
|
int |
getMaxBatchSize()
Get the maximum data size for a single batch RPC request, in units of Byte.
|
TSWriteMode |
getWriteMode() |
WriterRetryStrategy |
getWriterRetryStrategy() |
boolean |
isAllowDuplicatedRowInBatchRequest() |
void |
setAllowDuplicatedRowInBatchRequest(boolean allowDuplicatedRowInBatchRequest) |
void |
setBucketCount(int bucketCount) |
void |
setBufferSize(int bufferSize)
Set the size of the buffer queue in memory for a TableStoreWriter.
|
void |
setCallbackThreadCount(int callbackThreadCount) |
void |
setCallbackThreadPoolQueueSize(int callbackThreadPoolQueueSize) |
void |
setClientMaxConnections(int clientMaxConnections) |
void |
setConcurrency(int concurrency)
Sets the maximum request concurrency for a TableStoreWriter.
|
void |
setDispatchMode(TSDispatchMode dispatchMode) |
void |
setFlushInterval(int flushInterval)
Get the automatic flush interval of the writer, in milliseconds.
|
void |
setLogInterval(int logInterval) |
void |
setMaxBatchRowsCount(int maxBatchRowsCount)
Set the maximum number of rows for a single batch RPC request.
|
void |
setMaxBatchSize(int maxBatchSize)
Set the maximum data size for a single batch RPC request, in units of Byte.
|
void |
setWriteMode(TSWriteMode writeMode) |
void |
setWriterRetryStrategy(WriterRetryStrategy writerRetryStrategy) |
public int getMaxBatchRowsCount()
public void setMaxBatchRowsCount(int maxBatchRowsCount)
maxBatchRowsCount - The maximum number of rows for a single batch RPC request.public int getMaxBatchSize()
public void setMaxBatchSize(int maxBatchSize)
maxBatchSize - The maximum data size for a single batch RPC request.public int getConcurrency()
public void setConcurrency(int concurrency)
concurrency - The maximum request concurrency for a TableStoreWriter.public int getBufferSize()
public void setBufferSize(int bufferSize)
bufferSize - The size of the buffer queue in memory for a TableStoreWriter.public int getFlushInterval()
public void setFlushInterval(int flushInterval)
flushInterval - The automatic flush interval of the writer.public int getBucketCount()
public void setBucketCount(int bucketCount)
public TSDispatchMode getDispatchMode()
public void setDispatchMode(TSDispatchMode dispatchMode)
public TSWriteMode getWriteMode()
public void setWriteMode(TSWriteMode writeMode)
public int getLogInterval()
public void setLogInterval(int logInterval)
public int getCallbackThreadCount()
public void setCallbackThreadCount(int callbackThreadCount)
public int getCallbackThreadPoolQueueSize()
public void setCallbackThreadPoolQueueSize(int callbackThreadPoolQueueSize)
public WriterRetryStrategy getWriterRetryStrategy()
public void setWriterRetryStrategy(WriterRetryStrategy writerRetryStrategy)
public int getClientMaxConnections()
public void setClientMaxConnections(int clientMaxConnections)
public boolean isAllowDuplicatedRowInBatchRequest()
public void setAllowDuplicatedRowInBatchRequest(boolean allowDuplicatedRowInBatchRequest)
Copyright © 2025. All Rights Reserved.