|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.transfer.TransferManagerConfiguration
public class TransferManagerConfiguration
Configuration options for how TransferManager
processes requests.
The best configuration settings depend on network configuration, latency and bandwidth. The default configuration settings are suitable for most applications, but this class enables developers to experiment with different configurations and tune transfer manager performance.
Constructor Summary | |
---|---|
TransferManagerConfiguration()
Deprecated. |
Method Summary | |
---|---|
long |
getMinimumUploadPartSize()
Deprecated. Returns the minimum part size for upload parts. |
long |
getMultipartCopyPartSize()
Deprecated. Returns the minimum size in bytes of each part in a multi-part copy request. |
long |
getMultipartCopyThreshold()
Deprecated. Returns the maximum threshold size of an Amazon S3 object after which the copy operation is carried out using multi-part request. |
long |
getMultipartUploadThreshold()
Deprecated. Returns the size threshold in bytes for when to use multipart uploads. |
void |
setMinimumUploadPartSize(long minimumUploadPartSize)
Deprecated. Sets the minimum part size for upload parts. |
void |
setMultipartCopyPartSize(long multipartCopyPartSize)
Deprecated. Sets the minimum part size in bytes for each part in a multi-part copy request. |
void |
setMultipartCopyThreshold(long multipartCopyThreshold)
Deprecated. Sets the size threshold in bytes for when to use multi-part copy requests. |
void |
setMultipartUploadThreshold(long multipartUploadThreshold)
Deprecated. Sets the size threshold in bytes for when to use multipart uploads. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransferManagerConfiguration()
Method Detail |
---|
public long getMinimumUploadPartSize()
public void setMinimumUploadPartSize(long minimumUploadPartSize)
minimumUploadPartSize
- The minimum part size for upload parts.public long getMultipartUploadThreshold()
Multipart uploads are easier to recover from and potentially faster than single part uploads, especially when the upload parts can be uploaded in parallel as with files. Due to additional network communication, small uploads should use a single connection for the upload.
public void setMultipartUploadThreshold(long multipartUploadThreshold)
Multipart uploads are easier to recover from and potentially faster than single part uploads, especially when the upload parts can be uploaded in parallel as with files. Due to additional network communication, small uploads should use a single connection for the upload.
multipartUploadThreshold
- The size threshold in bytes for when to use multipart
uploads.public long getMultipartCopyPartSize()
public void setMultipartCopyPartSize(long multipartCopyPartSize)
multipartCopyPartSize
- The minimum size in bytes for each part in a multi part copy
request.public long getMultipartCopyThreshold()
public void setMultipartCopyThreshold(long multipartCopyThreshold)
multipartCopyThreshold
- The size threshold in bytes for when to use multi part copy.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |