public class BatchClientParallelOptions extends BatchClientBehavior
Constructor and Description |
---|
BatchClientParallelOptions()
Initializes a new instance of the
BatchClientParallelOptions class with default values. |
BatchClientParallelOptions(int maxDegreeOfParallelism)
Initializes a new instance of the
BatchClientParallelOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
maxDegreeOfParallelism()
Gets the maximum number of concurrent tasks enabled by this
BatchClientParallelOptions instance. |
BatchClientParallelOptions |
withMaxDegreeOfParallelism(int maxDegreeOfParallelism)
Sets the maximum number of concurrent tasks enabled by this
BatchClientParallelOptions instance. |
public BatchClientParallelOptions()
BatchClientParallelOptions
class with default values.public BatchClientParallelOptions(int maxDegreeOfParallelism)
BatchClientParallelOptions
class.maxDegreeOfParallelism
- the maximum number of concurrent tasks.public int maxDegreeOfParallelism()
BatchClientParallelOptions
instance.
The default value is 1.public BatchClientParallelOptions withMaxDegreeOfParallelism(int maxDegreeOfParallelism)
BatchClientParallelOptions
instance.maxDegreeOfParallelism
- the maximum number of concurrent tasks.BatchClientParallelOptions
.Copyright © 2019. All rights reserved.