* This is all or nothing; if any key is already pledged then this totally fails.
*
* @param int $bucket
- * @param callable $callback Pledge method taking a server name and yeilding a StatusValue
+ * @param callable $callback Pledge method taking a server name and yielding a StatusValue
* @return StatusValue
*/
final protected function collectPledgeQuorum( $bucket, callable $callback ) {
* Attempt to release pledges with the peers for a bucket
*
* @param int $bucket
- * @param callable $callback Pledge method taking a server name and yeilding a StatusValue
+ * @param callable $callback Pledge method taking a server name and yielding a StatusValue
* @return StatusValue
*/
final protected function releasePledges( $bucket, callable $callback ) {
/**
* $params include:
* - caches: A numbered array of either ObjectFactory::getObjectFromSpec
- * arrays yeilding BagOStuff objects or direct BagOStuff objects.
+ * arrays yielding BagOStuff objects or direct BagOStuff objects.
* If using the former, the 'args' field *must* be set.
* The first cache is the primary one, being the first to
* be read in the fallback chain. Writes happen to all stores
/**
* Constructor. Parameters are:
- * - writeFactory: ObjectFactory::getObjectFromSpec array yeilding BagOStuff.
+ * - writeFactory: ObjectFactory::getObjectFromSpec array yielding BagOStuff.
* This object will be used for writes (e.g. the master DB).
- * - readFactory: ObjectFactory::getObjectFromSpec array yeilding BagOStuff.
+ * - readFactory: ObjectFactory::getObjectFromSpec array yielding BagOStuff.
* This object will be used for reads (e.g. a replica DB).
* - sessionConsistencyWindow: Seconds to read from the master source for a key
* after writing to it. [Default: ReplicatedBagOStuff::MAX_WRITE_DELAY]