$decoratedBatch
$decoratedBatch : \Guzzle\Batch\BatchInterface
BatchInterface decorator used to add automatic flushing of the queue when the size of the queue reaches a threshold.
$decoratedBatch : \Guzzle\Batch\BatchInterface
__construct(\Guzzle\Batch\BatchInterface $decoratedBatch, integer $threshold)
\Guzzle\Batch\BatchInterface | $decoratedBatch | BatchInterface that is being decorated |
integer | $threshold | Flush when the number in queue matches the threshold |
setThreshold(integer $threshold) : \Guzzle\Batch\FlushingBatch
Set the auto-flush threshold
integer | $threshold | The auto-flush threshold |