public class MultipartDownloadResumeContext extends Object
| Constructor and Description |
|---|
MultipartDownloadResumeContext() |
MultipartDownloadResumeContext(Collection<Integer> completedParts,
Long bytesToLastCompletedParts) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCompletedPart(int partNumber) |
void |
addToBytesToLastCompletedParts(long bytes) |
Long |
bytesToLastCompletedParts() |
List<Integer> |
completedParts() |
int |
highestSequentialCompletedPart() |
boolean |
isComplete()
Check if the multipart download is complete or not by checking if the total amount of downloaded parts is equal to the
total amount of parts.
|
GetObjectResponse |
response() |
void |
response(GetObjectResponse response) |
String |
toString() |
Integer |
totalParts() |
void |
totalParts(int totalParts) |
public MultipartDownloadResumeContext()
public MultipartDownloadResumeContext(Collection<Integer> completedParts, Long bytesToLastCompletedParts)
public Long bytesToLastCompletedParts()
public void addCompletedPart(int partNumber)
public void addToBytesToLastCompletedParts(long bytes)
public void totalParts(int totalParts)
public Integer totalParts()
public GetObjectResponse response()
public void response(GetObjectResponse response)
public int highestSequentialCompletedPart()
public boolean isComplete()
Copyright © 2026. All rights reserved.