Class WriteMultipleResult

    • Method Detail

      • getSuccess

        public boolean getSuccess()
        Returns true if the WriteMultiple operation succeeded, or false if the operation is aborted due to the failure of a sub operation.

        The failed operation index can be accessed using getFailedOperationIndex() and its result can be accessed using getFailedOperationResult().

        Returns:
        true if the operation succeeded
      • size

        public int size()
        Returns the number of results.
        Returns:
        the number of results
      • getFailedOperationIndex

        public int getFailedOperationIndex()
        Returns the index of failed operation that results in the entire WriteMultiple operation aborting.
        Returns:
        the index of operation, -1 if not set.
      • getFailedOperationResult

        public WriteMultipleResult.OperationResult getFailedOperationResult()
        Returns the result of the operation that results in the entire WriteMultiple operation aborting.
        Returns:
        the result of the operation, null if not set.
      • getReadKB

        public int getReadKB()
        Returns the read throughput consumed by this operation, in KBytes. This is the actual amount of data read by the operation. The number of read units consumed is returned by getReadUnits() which may be a larger number because this was an update operation.
        Returns:
        the read KBytes consumed
      • getWriteKB

        public int getWriteKB()
        Returns the write throughput consumed by this operation, in KBytes.
        Returns:
        the write KBytes consumed
      • getReadUnits

        public int getReadUnits()
        Returns the read throughput consumed by this operation, in read units. This number may be larger than that returned by getReadKB() because it was an update operation.
        Returns:
        the read units consumed
      • getWriteUnits

        public int getWriteUnits()
        Returns the write throughput consumed by this operation, in write units.
        Returns:
        the write units consumed