| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore.txn.retry |
| Modifier and Type | Method and Description |
|---|---|
SqlRetryCallProperties |
SqlRetryCallProperties.withCallerId(String caller) |
SqlRetryCallProperties |
SqlRetryCallProperties.withLockInternally(boolean lockInternally) |
SqlRetryCallProperties |
SqlRetryCallProperties.withRetryOnDuplicateKey(boolean retryOnDuplicateKey) |
SqlRetryCallProperties |
SqlRetryCallProperties.withRetryPropagation(RetryPropagation retryPropagation) |
| Modifier and Type | Method and Description |
|---|---|
<Result> Result |
SqlRetryHandler.executeWithRetry(SqlRetryCallProperties properties,
SqlRetryFunction<Result> function)
Executes the passed
SqlRetryFunction and automatically retries the execution in case of failure. |
Copyright © 2024 The Apache Software Foundation. All rights reserved.