| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This is ready to review; it is only WIP because gax-java won't be released until this PR is approved. |
Sorry, something went wrong.
|
gax-java and toolkit are approved, PTAL here |
Sorry, something went wrong.
|
LGTM, others should approve also |
Sorry, something went wrong.
There was a problem hiding this comment.
Overall looks good to me. Just a few comments & questions
Sorry, something went wrong.
| } | ||
|
|
||
| /** | ||
| * Returns a builder for this class with recommened defaults for API methods, and the given |
| settingsBuilder = | ||
| ImmutableMap.Builder<String, RetrySettings> definitions = ImmutableMap.builder(); | ||
| RetrySettings settings = null; | ||
| settings = |
| // AUTO-GENERATED DOCUMENTATION AND CLASS | ||
| @Generated("by GAPIC v0.0.5") | ||
| @BetaApi | ||
| public abstract class DlpServiceStub implements BackgroundResource { |
|
|
||
| /** | ||
| * Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately | ||
| * cancelled. |
|
|
||
| @Override | ||
| public void shutdown() { | ||
| backgroundResources.shutdown(); |
| // AUTO-GENERATED DOCUMENTATION AND CLASS | ||
| @Generated("by GAPIC v0.0.5") | ||
| @BetaApi | ||
| public class GrpcDlpServiceStub extends DlpServiceStub { |
| ListRootCategoriesRequest.getDefaultInstance()), | ||
| io.grpc.protobuf.ProtoUtils.marshaller( | ||
| ListRootCategoriesResponse.getDefaultInstance()))); | ||
| private final BackgroundResource backgroundResources; |
|
|
||
| /** | ||
| * Constructs an instance of GrpcDlpServiceStub, using the given settings. This is protected so | ||
| * that it easy to make a subclass, but otherwise, the static factory methods should be preferred. |
|
The code LGTM, assuming @shinfan 's concerns are addressed. I'm not sure if this could cause a performance hit because we're wrapping more stuff. Though I'm not sure if we should block on this. |
Sorry, something went wrong.
|
Addressed Shin's comments, PTAL @shinfan |
Sorry, something went wrong.
|
@pongad I don't think the extra stack frame matters. I think what does matter is that gax was refactored a bit to make this happen, so allocation characteristics may have changed at that level. Like you say, I don't think possible performance changes should impact this PR; however, I think it might be worth doing a perf test before we do a release of google-cloud-java. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
@garrettjonesgoogle I agree. That's what I meant; I just didn't think of this when looking at the gax PR. I'll work on measurement when I get cycles. |
Sorry, something went wrong.
|
Changes Unknown when pulling d5575d8 on garrettjonesgoogle:master into ** on GoogleCloudPlatform:master**. |
Sorry, something went wrong.
…v1.43.3 (#2156) * deps: update dependency com.google.http-client:google-http-client to v1.43.3 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
#2156) * chore: Update generation configuration at Thu Aug 29 02:21:05 UTC 2024 * chore: Update generation configuration at Fri Aug 30 02:21:44 UTC 2024 * chore: Update generation configuration at Sat Aug 31 02:20:41 UTC 2024 * chore: Update generation configuration at Wed Sep 4 02:21:45 UTC 2024 * chore: Update generation configuration at Thu Sep 5 02:22:12 UTC 2024 * chore: Update generation configuration at Fri Sep 6 02:22:02 UTC 2024 * chore: Update generation configuration at Sat Sep 7 02:20:17 UTC 2024 * chore: Update generation configuration at Sun Sep 8 02:25:47 UTC 2024 * chore: Update generation configuration at Tue Sep 10 02:23:16 UTC 2024
#2156) * chore: Update generation configuration at Thu Aug 29 02:21:05 UTC 2024 * chore: Update generation configuration at Fri Aug 30 02:21:44 UTC 2024 * chore: Update generation configuration at Sat Aug 31 02:20:41 UTC 2024 * chore: Update generation configuration at Wed Sep 4 02:21:45 UTC 2024 * chore: Update generation configuration at Thu Sep 5 02:22:12 UTC 2024 * chore: Update generation configuration at Fri Sep 6 02:22:02 UTC 2024 * chore: Update generation configuration at Sat Sep 7 02:20:17 UTC 2024 * chore: Update generation configuration at Sun Sep 8 02:25:47 UTC 2024 * chore: Update generation configuration at Tue Sep 10 02:23:16 UTC 2024
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
No description provided.