-
public interface IQueueConfig
-
-
Method Summary
Modifier and Type Method Description abstract intgetMaxBatchCount()Gets the maximum size of a batch in bytes abstract voidsetMaxBatchCount(int maxBatchCount)Sets the maximum size of a batch in bytes abstract intgetMaxBatchIntervalMs()Gets the maximum interval allowed between calls to batchInvoke abstract voidsetMaxBatchIntervalMs(int maxBatchIntervalMs)Sets the maximum interval allowed between calls to batchInvoke -
-
Method Detail
-
getMaxBatchCount
abstract int getMaxBatchCount()
Gets the maximum size of a batch in bytes
-
setMaxBatchCount
abstract void setMaxBatchCount(int maxBatchCount)
Sets the maximum size of a batch in bytes
- Parameters:
maxBatchCount- the batchsize of data that will be queued until we send/writeToDisk it
-
getMaxBatchIntervalMs
abstract int getMaxBatchIntervalMs()
Gets the maximum interval allowed between calls to batchInvoke
-
setMaxBatchIntervalMs
abstract void setMaxBatchIntervalMs(int maxBatchIntervalMs)
Sets the maximum interval allowed between calls to batchInvoke
- Parameters:
maxBatchIntervalMs- the amount of MS until we want to send out a batch of data
-
-
-
-