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

Introduce GrpcExecutionStrategies#offloadNone #2478

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

daschl
Copy link
Contributor

@daschl daschl commented Dec 30, 2022

Motivation:

To ensure partiy with HttpExecutionStrategies it makes sense to introduce "offloadNone" as a static utility method instead of only making it accessible through a builder.

Modifications:

This changeset adds the static "offloadNone" utility method in GrpcExecutionStrategies and clarifies the javadoc of "offloadNever" (which is deprecated) on alternative usage.

Result:

Feature parity between GRPC and HTTP on the "offloadNone" execution strategy creation.

Motivation:

To ensure partiy with HttpExecutionStrategies it makes sense to
introduce "offloadNone" as a static utility method instead of
only making it accessible through a builder.

Modifications:

This changeset adds the static "offloadNone" utility method in
GrpcExecutionStrategies and clarifies the javadoc of "offloadNever"
(which is deprecated) on alternative usage.

Result:

Feature parity between GRPC and HTTP on the "offloadNone" execution
strategy creation.
Copy link
Member

@idelpivnitskiy idelpivnitskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also improve GrpcExecutionStrategy.from(HttpExecutionStrategy) to account for the new offloadNone() strategy.

@daschl daschl requested a review from idelpivnitskiy January 4, 2023 11:35
Copy link
Member

@idelpivnitskiy idelpivnitskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@daschl daschl merged commit 2344448 into apple:main Jan 6, 2023
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.

2 participants