Class AbstractTransfer
Contains abstract functionality for transfer objects.
Direct known subclasses
OpenCloud\ObjectStore\Upload\ConcurrentTransfer, OpenCloud\ObjectStore\Upload\ConsecutiveTransfer
Namespace: OpenCloud\ObjectStore\Upload
Located at OpenCloud/ObjectStore/Upload/AbstractTransfer.php
Located at OpenCloud/ObjectStore/Upload/AbstractTransfer.php
public static
static
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
array
|
|
public
mixed
|
|
public
mixed
|
|
public
|
|
public
mixed
|
|
protected
mixed
|
|
public
Guzzle\Http\Message\Response
|
integer |
MIN_PART_SIZE
|
1048576 |
#
Minimum chunk size is 1MB. |
integer |
MAX_PART_SIZE
|
5368709120 |
#
Maximum chunk size is 5GB. |
integer |
DEFAULT_PART_SIZE
|
1073741824 |
#
Default chunk size is 1GB. |
protected
|
$client |
|
#
The client object which handles all HTTP interactions |
protected
Guzzle\Http\EntityBody
|
$entityBody |
|
#
The payload being transferred |
protected
|
$transferState |
|
#
The current state of the transfer responsible for, among other things, holding an itinerary of uploaded parts |
protected
array
|
$options |
|
#
User-defined key/pair options |
protected
integer
|
$partSize |
|
|
protected
array
|
$defaultOptions | array(
'concurrency' => true,
'partSize' => self::DEFAULT_PART_SIZE,
'prefix' => 'segment',
'doPartChecksum' => true
) |
#
Defaults that will always override user-defined options |