-
Notifications
You must be signed in to change notification settings - Fork 81
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
BarrageSession
Subscription/Snapshot Methods now Return Future<Table>
#4676
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nbauernfeind
added
bug
Something isn't working
NoDocumentationNeeded
barrage-wrkr2wrkr
ReleaseNotesNeeded
Release notes are needed
labels
Oct 19, 2023
nbauernfeind
force-pushed
the
barrage_snap
branch
from
October 20, 2023 16:23
3affb38
to
cea8bbb
Compare
rcaudy
reviewed
Oct 20, 2023
extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcUtil.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Ryan Caudy <[email protected]>
rcaudy
reviewed
Oct 20, 2023
extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java
Outdated
Show resolved
Hide resolved
extensions/barrage/src/main/java/io/deephaven/extensions/barrage/util/GrpcUtil.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
rcaudy
reviewed
Oct 20, 2023
extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java
Outdated
Show resolved
Hide resolved
extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java
Show resolved
Hide resolved
extensions/barrage/src/main/java/io/deephaven/extensions/barrage/table/BarrageTable.java
Show resolved
Hide resolved
...-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java
Outdated
Show resolved
Hide resolved
rcaudy
previously approved these changes
Oct 20, 2023
...client/barrage-examples/src/main/java/io/deephaven/client/examples/SubscribeExampleBase.java
Show resolved
Hide resolved
...-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java
Outdated
Show resolved
Hide resolved
...-client/barrage-examples/src/main/java/io/deephaven/client/examples/SnapshotExampleBase.java
Outdated
Show resolved
Hide resolved
Approved, but needs thorough testing before we merge. |
…ging on successful snapshot via subscription
rcaudy
reviewed
Oct 23, 2023
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
…rageSubscriptionImpl.java Ryan's CR Suggestion Co-authored-by: Ryan Caudy <[email protected]>
rcaudy
reviewed
Oct 23, 2023
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
rcaudy
reviewed
Oct 23, 2023
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshot.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscription.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSnapshotImpl.java
Outdated
Show resolved
Hide resolved
rcaudy
reviewed
Oct 23, 2023
...tegraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java
Outdated
Show resolved
Hide resolved
...tegraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java
Outdated
Show resolved
Hide resolved
...tegraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java
Outdated
Show resolved
Hide resolved
...tegraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java
Outdated
Show resolved
Hide resolved
...tegraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java
Outdated
Show resolved
Hide resolved
Ryan's inline suggestions. Co-authored-by: Ryan Caudy <[email protected]>
rcaudy
previously approved these changes
Oct 23, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two cosmetic complaints. No need to make further changes if tests pass.
...tegraph/src/main/java/io/deephaven/engine/updategraph/UpdateGraphAwareCompletableFuture.java
Outdated
Show resolved
Hide resolved
java-client/barrage/src/main/java/io/deephaven/client/impl/BarrageSubscriptionImpl.java
Outdated
Show resolved
Hide resolved
nbauernfeind
changed the title
Fix BarrageSession#snapshot Use-Case; Do Not Make BarrageTable Refreshing
Oct 23, 2023
BarrageSession
Subscription/Snapshot Methods now Return Future<Table>
rcaudy
approved these changes
Oct 23, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
barrage-wrkr2wrkr
breaking
bug
Something isn't working
java-client
NoDocumentationNeeded
ReleaseNotesNeeded
Release notes are needed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #4675
This includes breaking changes to the barrage java-client API. The snapshot/subscription methods now return
Future<Table>
instead ofBarrageTable
and users are no longer required toblockUntilCompletion
as this is handled byFuture#get
.Subscribed tables can now be canceled only through
Liveness
destruction such as using an explicitLivenessScope
or invokingReferenceCounted#forceReferenceCountToZero()
.