Aerospike\LDT\LDT::setPageSize PHP Method

setPageSize() public method

Set the page size of the LDT
public setPageSize ( integer $size ) : integer
$size integer
return integer status code of the operation
    public function setPageSize($size)
    {
        $size = intval($size);
        if ($size <= 0) {
            $this->errorno = self::ERR_INPUT_PARAM;
            $this->error = self::MSG_TYPE_NOT_SUPPORTED;
            return $this->errorno;
        }
        $status = $this->client->apply($this->key, $this->module, 'setPageSize', array($this->bin, $size));
        $this->processStatusCode($status);
        return $status;
    }