Skip to content

Commit

Permalink
Update javadoc.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <handalm@amazon.com>
  • Loading branch information
mch2 committed Aug 29, 2023
1 parent 73d1ea4 commit e3520f7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2151,9 +2151,8 @@ protected SegmentInfos getLatestSegmentInfos() {
}

/**
* Fetch the latest {@link SegmentInfos} object via {@link #getLatestSegmentInfos()}
* but also increment the ref-count to ensure that these segment files are retained
* until the reference is closed. On close, the ref-count is decremented.
* Fetch the latest {@link SegmentInfos} from the current ReaderManager's active DirectoryReader.
* This method will hold the reader reference until the returned {@link GatedCloseable} is closed.
*/
@Override
public GatedCloseable<SegmentInfos> getSegmentInfosSnapshot() {
Expand Down

0 comments on commit e3520f7

Please sign in to comment.