Skip to content

Commit

Permalink
Add javadoc to explain the purpose of "cancelPendingRead"
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Jan 16, 2025
1 parent cd14e7b commit 41ad1ff
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public SubType getType() {

public abstract boolean isConsumerAvailable(Consumer consumer);

/**
* Cancel a possible pending read that is a Managed Cursor waiting to be notified for more entries.
* This won't cancel any other pending reads that are currently in progress.
*/
protected void cancelPendingRead() {}

/**
Expand Down

0 comments on commit 41ad1ff

Please sign in to comment.