Class ContainerMigration
Class responsible for migrating the contents of one container to another
Namespace: OpenCloud\ObjectStore\Upload
Package: OpenCloud\ObjectStore\Upload
Located at OpenCloud/ObjectStore/Upload/ContainerMigration.php
Package: OpenCloud\ObjectStore\Upload
Located at OpenCloud/ObjectStore/Upload/ContainerMigration.php
public static
|
#
factory(
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
Guzzle\Common\Collection
|
|
public
|
#
setupReadQueue( )
Set the read queue as a \Guzzle\Batch\Batch queue using the \Guzzle\Batch\BatchBuilder |
public
|
#
setupWriteQueue( )
Set the write queue as a \Guzzle\Batch\Batch queue using the \Guzzle\Batch\BatchBuilder |
protected
|
|
protected
array
|
#
sendGetRequests( )
Send the read queue (in order to gather more information about individual files) |
protected
Guzzle\Http\Message\EntityEnclosingRequestInterface
|
#
createPutRequest( Guzzle\Http\Message\Response $response )
Create a tailored PUT request for each file |
public
array
|
protected
Guzzle\Batch\Batch
|
$readQueue |
|
|
protected
Guzzle\Batch\Batch
|
$writeQueue |
|
|
protected
|
$oldContainer |
|
|
protected
|
$newContainer |
|
|
protected
Guzzle\Common\Collection
|
$options | array() |
|
protected
array
|
$defaults | array(
'read.batchLimit' => 1000,
'read.pageLimit' => 10000,
'write.batchLimit' => 100
) |