Class DmlBatchSender


  • public class DmlBatchSender
    extends Object
    Batch sender class.
    • Constructor Detail

      • DmlBatchSender

        public DmlBatchSender​(GridCacheContext cctx,
                              int size,
                              int qryNum)
        Constructor.
        Parameters:
        cctx - Cache context.
        size - Batch.
        qryNum - Number of queries.
    • Method Detail

      • flush

        public void flush()
        Flush any remaining entries.
      • updateCount

        public long updateCount()
        Returns:
        Update count.
      • failedKeys

        public List<Object> failedKeys()
        Returns:
        Failed keys.
      • perRowCounterAsArray

        public int[] perRowCounterAsArray()
        Returns per row updates counter as array.
        Returns:
        Per row updates counter as array.
      • setFailed

        public void setFailed​(int rowNum)
        Sets row as failed.
        Parameters:
        rowNum - Row number.