GeezerVison is showing github.com (truncated) — Reconcile RetrySettings & Clock (google-cloud-java part) by vam-google · Pull Request #1738 · googleapis/google-cloud-java
Conversation
Reconcile RetrySettings in GAX with RetryParams in google-cloud-java
#1574
Reconcile NanoClock in GAX with Clock in google-cloud-java
#1575
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reconcile RetrySettings in GAX with RetryParams in google-cloud-java
googleapis#1574
Reconcile NanoClock in GAX with Clock in google-cloud-java
googleapis#1575
… and NanoClock -> ApiClock renaming).
|
|
<google.auth.version>0.6.0</google.auth.version>
|
|
|
<grpc.version>1.0.3</grpc.version>
|
|
|
<gax.version>0.4.0</gax.version>
|
|
|
<gax.version>0.3.2-SNAPSHOT</gax.version>
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
|
|
|
@Rule
|
|
|
public ExpectedException thrown = ExpectedException.none();
|
|
|
@Rule public ExpectedException thrown = ExpectedException.none();
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
private static final String META_VERSION_KEY = "version";
|
|
|
private static final RetrySettings DEFAULT_RETRY_SETTINGS = getDefaultRetrySettingsBuilder()
|
|
|
.build();
|
|
|
private static final RetrySettings NO_RETRY_SETTINGS = getDefaultRetrySettingsBuilder()
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
*
|
|
|
* @param <V> return value of the closure that is being run with retries
|
|
|
* Utility class for retrying operations. For more details about the parameters, see {@link
|
|
|
* RetrySettings}.
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
|
|
|
@Override
|
|
|
public TimedAttemptSettings createNextAttempt(Throwable prevThrowable,
|
|
|
TimedAttemptSettings prevSettings) {
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
protected static void translate(RetryHelper.RetryHelperException ex) {
|
|
|
if (ex.getCause() instanceof BaseServiceException) {
|
|
|
throw (BaseServiceException) ex.getCause();
|
|
|
}
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
* Exception handling used by {@link RetryHelper}.
|
|
|
*/
|
|
|
public final class ExceptionHandler implements Serializable {
|
|
|
public final class ExceptionHandler implements ExceptionRetryAlgorithm, Serializable {
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
@@ -33,7 +35,7 @@ |
|
|
/**
|
|
|
* Exception handling used by {@link RetryHelper}.
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I am concerned with the CI build failure.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Adressed PR comments. PTAL. The CI will not pass at this point, because it needs #1775 PR to be merged first (without that the code is not compilable)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
LGTM after at least two of the tests pass.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Changes Unknown when pulling ca31a82 on vam-google:master into ** on GoogleCloudPlatform:master**.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
…is#1738)
Simplify the dialect detection for the Spring Data JDBC sample to use
the built-in function for getting the dialect of a Spanner database.
meltsufin
pushed a commit
that referenced
this pull request
Apr 29, 2026
…cies to v3.16.1 (#1738)
* deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1
* chore: fixes from `dependencies.sh`
---------
Co-authored-by: Diego Marquez <[email protected]>
meltsufin
pushed a commit
that referenced
this pull request
May 1, 2026
…cies to v3.16.1 (#1738)
* deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1
* chore: fixes from `dependencies.sh`
---------
Co-authored-by: Diego Marquez <[email protected]>
|