Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrx committed Apr 30, 2024
1 parent 38bc83e commit 9703948
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ protected int getEndingRegion(long position) {
return getRegion(position - (position % regionSize == 0 ? 1 : 0));
}

private ByteRange mapSubRangeToRegion(ByteRange range, int region) {
protected ByteRange mapSubRangeToRegion(ByteRange range, int region) {
final long regionStart = getRegionStart(region);
final long regionEnd = getRegionEnd(region);
if (range.start() >= regionEnd || range.end() <= regionStart) {
Expand Down Expand Up @@ -579,7 +579,7 @@ public void maybeFetchRegion(
*
* @param cacheKey the key to fetch data for
* @param region the region of the blob
* @param range the range in the region to fetch
* @param range the range of the blob to fetch
* @param blobLength the length of the blob from which the region is fetched (used to compute the size of the ending region)
* @param writer a writer that handles writing of newly downloaded data to the shared cache
* @param fetchExecutor an executor to use for reading from the blob store
Expand Down

0 comments on commit 9703948

Please sign in to comment.