Skip to content

Commit

Permalink
Add javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <kalsac@amazon.com>
  • Loading branch information
Sachin Kale committed Jun 30, 2023
1 parent 089e319 commit 9e8bcf8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ default long readBlobPreferredLength() {
*/
Map<String, BlobMetadata> listBlobsByPrefix(String blobNamePrefix) throws IOException;

/**
* Lists all blobs in the container that match the specified prefix in lexicographic order
* @param blobNamePrefix The prefix to match against blob names in the container.
* @param limit Limits the result size to min(limit, number of keys)
* @param listener the listener to be notified upon request completion
*/
default void listBlobsByPrefixInLexicographicOrder(String blobNamePrefix, int limit, ActionListener<List<BlobMetadata>> listener) {
if (limit < 0) {
throw new IllegalArgumentException("limit should not be a negative value");
Expand Down

0 comments on commit 9e8bcf8

Please sign in to comment.