Skip to content

docs(gax): document long-running operation polling, timeout, and cancellation contracts - #99

Draft
lqiu96 wants to merge 2 commits into
mainfrom
docs/gax-3a-lro-polling-behavior
Draft

lqiu96 wants to merge 2 commits into
mainfrom
docs/gax-3a-lro-polling-behavior

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Update handwritten core GAX long-running operation Javadocs (OperationFuture, OperationTimedPollAlgorithm, OperationCallSettings, and OperationCallable) to document the three independent LRO retry layers, CancellationException on client-side polling timeout, local-only OperationFuture.cancel() vs server-side OperationCallable.cancel(), and OperationTimedPollAlgorithm timeout/delay fields.

…ellation contracts

- Document OperationFuture blocking, CancellationException on polling timeout, local-only cancel/get(timeout), and getInitialFuture vs getName semantics.
- Document OperationTimedPollAlgorithm RetrySettings fields (including per-poll RPC timeout behavior) and CancellationException behavior.
- Document the three independent LRO retry layers on OperationCallSettings and best-effort asynchronous server cancellation on OperationCallable.cancel.
@lqiu96
lqiu96 force-pushed the docs/gax-3a-lro-polling-behavior branch from a2455d2 to 3810460 Compare December 1, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant