public class CopyPartRequestFactory extends Object
This allows us to delay creating each CopyPartRequest until we're ready for it, instead of immediately creating thousands of CopyPartRequest objects for each large copy, when we won't need most of those request objects for a while.
Constructor and Description |
---|
CopyPartRequestFactory(CopyObjectRequest origReq,
String uploadId,
long optimalPartSize,
long contentLength) |
Modifier and Type | Method and Description |
---|---|
CopyPartRequest |
getNextCopyPartRequest()
Constructs a copy part requests and returns it.
|
boolean |
hasMoreRequests() |
public CopyPartRequestFactory(CopyObjectRequest origReq, String uploadId, long optimalPartSize, long contentLength)
public boolean hasMoreRequests()
public CopyPartRequest getNextCopyPartRequest()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.