public static interface BatchPolicy.Builder extends SdkPojo, CopyableBuilder<BatchPolicy.Builder,BatchPolicy>
| Modifier and Type | Method and Description |
|---|---|
BatchPolicy.Builder |
maxConcurrency(Integer maxConcurrency)
The number of active simulation jobs create as part of the batch that can be in an active state at the same
time.
|
BatchPolicy.Builder |
timeoutInSeconds(Long timeoutInSeconds)
The amount of time, in seconds, to wait for the batch to complete.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchPolicy.Builder timeoutInSeconds(Long timeoutInSeconds)
The amount of time, in seconds, to wait for the batch to complete.
If a batch times out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError), they will be moved to the failed list and the batch status will be
Failed. If the pending requests were failing for any other reason, the failed pending requests
will be moved to the failed list and the batch status will be TimedOut.
timeoutInSeconds - The amount of time, in seconds, to wait for the batch to complete.
If a batch times out, and there are pending requests that were failing due to an internal failure
(like InternalServiceError), they will be moved to the failed list and the batch status
will be Failed. If the pending requests were failing for any other reason, the failed
pending requests will be moved to the failed list and the batch status will be TimedOut.
BatchPolicy.Builder maxConcurrency(Integer maxConcurrency)
The number of active simulation jobs create as part of the batch that can be in an active state at the same time.
Active states include: Pending,Preparing, Running,
Restarting, RunningFailed and Terminating. All other states are
terminal states.
maxConcurrency - The number of active simulation jobs create as part of the batch that can be in an active state at the
same time.
Active states include: Pending,Preparing, Running,
Restarting, RunningFailed and Terminating. All other states are
terminal states.
Copyright © 2020. All rights reserved.