public class CongestionController extends Object
| Constructor and Description |
|---|
CongestionController(com.google.common.util.concurrent.ListeningExecutorService executor,
int partitionThroughput,
String partitionKeyRangeId,
com.microsoft.azure.documentdb.bulkexecutor.internal.BatchOperator batchOperator) |
CongestionController(com.google.common.util.concurrent.ListeningExecutorService executor,
int partitionThroughput,
String partitionKeyRangeId,
com.microsoft.azure.documentdb.bulkexecutor.internal.BatchOperator batchOperator,
Integer startingDegreeOfConcurrency,
Integer maxDegreeOfConcurrency) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
completed() |
com.google.common.util.concurrent.ListenableFuture<Void> |
executeAll() |
com.google.common.util.concurrent.ListenableFuture<Void> |
executeAllAsync() |
boolean |
failed() |
int |
getDegreeOfConcurrency() |
List<Exception> |
getFailures() |
boolean |
isRunning() |
void |
setState(com.microsoft.azure.documentdb.bulkexecutor.internal.CongestionController.State state) |
public CongestionController(com.google.common.util.concurrent.ListeningExecutorService executor,
int partitionThroughput,
String partitionKeyRangeId,
com.microsoft.azure.documentdb.bulkexecutor.internal.BatchOperator batchOperator)
public CongestionController(com.google.common.util.concurrent.ListeningExecutorService executor,
int partitionThroughput,
String partitionKeyRangeId,
com.microsoft.azure.documentdb.bulkexecutor.internal.BatchOperator batchOperator,
Integer startingDegreeOfConcurrency,
Integer maxDegreeOfConcurrency)
public com.google.common.util.concurrent.ListenableFuture<Void> executeAllAsync()
public com.google.common.util.concurrent.ListenableFuture<Void> executeAll()
public void setState(com.microsoft.azure.documentdb.bulkexecutor.internal.CongestionController.State state)
public boolean isRunning()
public boolean completed()
public boolean failed()
public int getDegreeOfConcurrency()
Copyright © 2021. All rights reserved.