Open Journal Systems
3.3.0
|
Public Member Functions | |
add ($item) | |
flush () | |
isEmpty () | |
Interface for efficiently transferring items in a queue using batches
Definition at line 8 of file BatchInterface.php.
Guzzle\Batch\BatchInterface::add | ( | $item | ) |
Add an item to the queue
mixed | $item | Item to add |
Implemented in Guzzle\Batch\FlushingBatch, Guzzle\Batch\Batch, Guzzle\Batch\AbstractBatchDecorator, and Guzzle\Batch\HistoryBatch.
Guzzle\Batch\BatchInterface::flush | ( | ) |
Flush the batch and transfer the items
Implemented in Guzzle\Batch\Batch, Guzzle\Batch\AbstractBatchDecorator, Guzzle\Batch\NotifyingBatch, and Guzzle\Batch\ExceptionBufferingBatch.
Guzzle\Batch\BatchInterface::isEmpty | ( | ) |
Check if the batch is empty and has further items to transfer
Implemented in Guzzle\Batch\Batch, and Guzzle\Batch\AbstractBatchDecorator.