Class ParallelTransfer
Transfers multipart upload parts in parallel
- Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
- Aws\Common\Model\MultipartUpload\AbstractTransfer implements Aws\Common\Model\MultipartUpload\TransferInterface
- Aws\S3\Model\MultipartUpload\AbstractTransfer
- Aws\S3\Model\MultipartUpload\ParallelTransfer
Located at Aws/S3/Model/MultipartUpload/ParallelTransfer.php
Methods summary
-
protected
init ( )
Hook to initialize the transfer
-
protected
transfer ( )
Hook to implement in subclasses to perform the actual transfer
-
protected
prepareParts ( int $concurrency )
Prepare the entity body handles to use while transferring
Methods detail
Hook to initialize the transfer
Throws
Overrides
Hook to implement in subclasses to perform the actual transfer
Prepare the entity body handles to use while transferring
Parameters
- $concurrency
integer
$concurrency Number of parts to prepare
Returns
array
Parts to send
Methods inherited from Aws\S3\Model\MultipartUpload\AbstractTransfer
calculatePartSize()
,
complete()
,
getAbortCommand()
Methods inherited from Aws\Common\Model\MultipartUpload\AbstractTransfer
__construct()
,
__invoke()
,
abort()
,
getAllEvents()
,
getEventData()
,
getOptions()
,
getSource()
,
getState()
,
setOption()
,
stop()
,
upload()
Methods inherited from Guzzle\Common\AbstractHasDispatcher
addSubscriber()
,
dispatch()
,
getEventDispatcher()
,
setEventDispatcher()
Magic methods summary
Constants summary
Constants inherited from Aws\S3\Model\MultipartUpload\AbstractTransfer
MAX_PARTS
,
MAX_PART_SIZE
,
MIN_PART_SIZE
Constants inherited from Aws\Common\Model\MultipartUpload\AbstractTransfer
AFTER_ABORT
,
AFTER_COMPLETE
,
AFTER_PART_UPLOAD
,
AFTER_UPLOAD
,
BEFORE_PART_UPLOAD
,
BEFORE_UPLOAD
Properties summary
Properties inherited from Aws\Common\Model\MultipartUpload\AbstractTransfer
$client
,
$options
,
$partSize
,
$source
,
$state
,
$stopped