/** * {@inheritdoc} */ public function execute(RiakCluster $cluster) { $config = $cluster->getRiakConfig(); $operation = new FetchOperation($config, $this->location, $this->options); $response = $cluster->execute($operation); return $response; }
/** * {@inheritdoc} */ public function execute(RiakCluster $cluster) { $config = $cluster->getRiakConfig(); $converter = $config->getCrdtResponseConverter(); $operation = new FetchSetOperation($converter, $this->location, $this->options); $response = $cluster->execute($operation); return $response; }
/** * {@inheritdoc} */ public function execute(RiakCluster $cluster) { $op = $this->update->getOp(); $config = $cluster->getRiakConfig(); $converter = $config->getCrdtResponseConverter(); $operation = new StoreMapOperation($converter, $this->location, $op, $this->context, $this->options); $response = $cluster->execute($operation); return $response; }