@InternalApi(value="For internal usage only") public class OperationAccountant extends Object
For internal use only - public for technical reasons.
| Constructor and Description |
|---|
OperationAccountant()
Constructor for
OperationAccountant. |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitCompletion()
Blocks until all outstanding RPCs and retries have completed
|
boolean |
hasInflightOperations()
hasInflightRequests.
|
void |
registerOperation(com.google.api.core.ApiFuture<?> future)
Register a new RPC operation.
|
public OperationAccountant()
OperationAccountant.public void registerOperation(com.google.api.core.ApiFuture<?> future)
onOperationCompletion().public void awaitCompletion()
throws InterruptedException
InterruptedException - if any.public boolean hasInflightOperations()
OperationAccountant