Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: handle retry info so client respect the delay server sets #2026

Merged
merged 14 commits into from
Dec 19, 2023
Prev Previous commit
Next Next commit
mark as beta api
  • Loading branch information
mutianf committed Dec 18, 2023
commit 82f5cd75d081eda1acf9c7f7ac45ebd5a3f619ba
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package com.google.cloud.bigtable.data.v2.stub;

import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.api.gax.batching.BatchingCallSettings;
import com.google.api.gax.batching.BatchingSettings;
Expand Down Expand Up @@ -319,6 +320,7 @@ public Map<String, String> getJwtAudienceMapping() {
* Gets if routing cookie is enabled. If true, client will retry a request with extra metadata
* server sent back.
*/
@BetaApi("Routing cookie is not currently stable and may change in the future")
public boolean getEnableRoutingCookie() {
return enableRoutingCookie;
}
Expand Down Expand Up @@ -910,6 +912,7 @@ public Map<String, String> getJwtAudienceMapping() {
* Sets if routing cookie is enabled. If true, client will retry a request with extra metadata
* server sent back.
*/
@BetaApi("Routing cookie is not currently stable and may change in the future")
public Builder setEnableRoutingCookie(boolean enableRoutingCookie) {
this.enableRoutingCookie = enableRoutingCookie;
return this;
Expand All @@ -919,6 +922,7 @@ public Builder setEnableRoutingCookie(boolean enableRoutingCookie) {
* Gets if routing cookie is enabled. If true, client will retry a request with extra metadata
* server sent back.
*/
@BetaApi("Routing cookie is not currently stable and may change in the future")
public boolean getEnableRoutingCookie() {
return enableRoutingCookie;
}
Expand Down
Loading