Package 

Interface IQueueConfig

    • Method Summary

      Modifier and Type Method Description
      abstract int getMaxBatchCount() Gets the maximum size of a batch in bytes
      abstract void setMaxBatchCount(int maxBatchCount) Sets the maximum size of a batch in bytes
      abstract int getMaxBatchIntervalMs() Gets the maximum interval allowed between calls to batchInvoke
      abstract void setMaxBatchIntervalMs(int maxBatchIntervalMs) Sets the maximum interval allowed between calls to batchInvoke
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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