Class BatchClientParallelOptions


  • public class BatchClientParallelOptions
    extends BatchClientBehavior
    Stores options that configure the operation of methods on Batch client parallel operations.
    • Constructor Detail

      • BatchClientParallelOptions

        public BatchClientParallelOptions()
        Initializes a new instance of the BatchClientParallelOptions class with default values.
      • BatchClientParallelOptions

        public BatchClientParallelOptions​(int maxDegreeOfParallelism)
        Initializes a new instance of the BatchClientParallelOptions class.
        Parameters:
        maxDegreeOfParallelism - the maximum number of concurrent tasks.
    • Method Detail

      • maxDegreeOfParallelism

        public int maxDegreeOfParallelism()
        Gets the maximum number of concurrent tasks enabled by this BatchClientParallelOptions instance. The default value is 1.
        Returns:
        The maximum number of concurrent tasks.