Skip to content

Commit

Permalink
docs: fix list fetch end index description
Browse files Browse the repository at this point in the history
Corrects the end index documentation on `listFetch` to indicate it is
exclusive, not inclusive.
  • Loading branch information
malandis committed Aug 30, 2024
1 parent 1387cd0 commit 7319cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion momento-sdk/src/main/java/momento/sdk/CacheClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ public CompletableFuture<ListConcatenateFrontResponse> listConcatenateFrontByteA
* @param cacheName The cache containing the list.
* @param listName The list to fetch.
* @param startIndex Start index (inclusive) for fetch operation. Defaults to 0 if not provided.
* @param endIndex End index (inclusive) for fetch operation. Defaults to the end of the list if
* @param endIndex End index (exclusive) for fetch operation. Defaults to the end of the list if
* not provided.
* @return Future containing the result of the list fetch back operation: {@link
* ListFetchResponse.Hit} containing the fetched data, {@link ListFetchResponse.Miss} if no
Expand Down

0 comments on commit 7319cfd

Please sign in to comment.