Skip to content

Add progress listener design doc and prototype #1386

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

Closed
wants to merge 1 commit into from

Conversation

zoewangg
Copy link
Contributor

Description

Add progress listener design doc and prototype

* @param progressEvent the progress event
* @return the complete future
*/
CompletableFuture<?> onProgressEvent(ProgressEvent progressEvent);
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe void instead of ?

What are the merits of each?

*/
@SdkPublicApi
@FunctionalInterface
public interface ProgressEventPublisher {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this different than the listener interface?

@codecov-io
Copy link

Codecov Report

Merging #1386 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #1386     +/-   ##
===========================================
- Coverage     71.36%   71.26%   -0.1%     
  Complexity      188      188             
===========================================
  Files           781      781             
  Lines         24322    24322             
  Branches       1828     1828             
===========================================
- Hits          17357    17333     -24     
- Misses         6172     6194     +22     
- Partials        793      795      +2
Flag Coverage Δ Complexity Δ
#unittests 71.26% <ø> (-0.1%) 188 <ø> (ø)
Impacted Files Coverage Δ Complexity Δ
...nio/netty/internal/OldConnectionReaperHandler.java 81.81% <0%> (-9.1%) 0% <0%> (ø)
...o/netty/internal/utils/BetterFixedChannelPool.java 54.14% <0%> (-6.08%) 0% <0%> (ø)
.../http/nio/netty/internal/NettyRequestExecutor.java 63.82% <0%> (-5.32%) 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3116fd5...48f40a0. Read the comment docs.

@zoewangg zoewangg closed this Aug 20, 2019
@zoewangg zoewangg deleted the zoewang-progressListenerDesign branch August 20, 2019 00:50
aws-sdk-java-automation added a commit that referenced this pull request May 11, 2021
…0eae4fbe0

Pull request: release <- staging/335b8c2d-22c9-40fa-a7c0-9320eae4fbe0
@Bennett-Lynch
Copy link
Contributor

Superseded by #2729

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.

4 participants