Class CmdInformationBatch

    • Constructor Detail

      • CmdInformationBatch

        public CmdInformationBatch​(int expectedSize,
                                   int autoIncrement)
        CmdInformationBatch is similar to CmdInformationMultiple, but knowing it's for batch, doesn't take take of moreResult. That permit to use ConcurrentLinkedQueue, and then when option "useBatchMultiSend" is set and batch is interrupted, will permit to reading thread to keep connection in a correct state without any ConcurrentModificationException.
        Parameters:
        expectedSize - expected batch size.
        autoIncrement - connection auto increment value.