public class UploadPartRequestFactory extends Object
This allows us to delay creating each UploadPartRequest until we're ready for it, instead of immediately creating thousands of UploadPartRequest objects for each large upload, when we won't need most of those request objects for a while.
构造器和说明 |
---|
UploadPartRequestFactory(PutObjectRequest putObjectRequest,
String uploadId,
long optimalPartSize) |
限定符和类型 | 方法和说明 |
---|---|
UploadPartRequest |
getNextUploadPartRequest() |
boolean |
hasMoreRequests() |
public UploadPartRequestFactory(PutObjectRequest putObjectRequest, String uploadId, long optimalPartSize)
public boolean hasMoreRequests()
public UploadPartRequest getNextUploadPartRequest()
Copyright © 2016. All rights reserved.