mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
19864 lines
635 KiB
HTML
19864 lines
635 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="robots" content="index, follow, all" />
|
|
<title>RedisCluster | PhpRedis API</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
|
|
<link rel="stylesheet" type="text/css" href="css/doctum.css">
|
|
<link rel="stylesheet" type="text/css" href="fonts/doctum-font.css">
|
|
<script src="js/jquery-3.5.1.slim.min.js"></script>
|
|
<script async defer src="doctum.js"></script>
|
|
<script async defer src="js/bootstrap.min.js"></script>
|
|
<script async defer src="js/autocomplete.min.js"></script>
|
|
<meta name="MobileOptimized" content="width">
|
|
<meta name="HandheldFriendly" content="true">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
|
<link rel="stylesheet" type="text/css" href="css/highlight-github.min.css">
|
|
<script defer src="js/highlight.min.js"></script>
|
|
<script>
|
|
window.addEventListener('load', function () {
|
|
if (!window.hljs) {
|
|
return;
|
|
}
|
|
|
|
function ensureCustomClassesAreBuiltIn() {
|
|
var classesToAdd = ['Redis', 'RedisCluster', 'RedisArray'];
|
|
|
|
if (!hljs.getLanguage) {
|
|
return;
|
|
}
|
|
|
|
var phpLanguage = hljs.getLanguage('php');
|
|
if (!phpLanguage || !phpLanguage.keywords) {
|
|
return;
|
|
}
|
|
|
|
var builtIns = phpLanguage.keywords.built_in;
|
|
if (!builtIns) {
|
|
phpLanguage.keywords.built_in = classesToAdd.join(' ');
|
|
return;
|
|
}
|
|
|
|
if (Array.isArray(builtIns)) {
|
|
classesToAdd.forEach(function (className) {
|
|
if (builtIns.indexOf(className) === -1) {
|
|
builtIns.push(className);
|
|
}
|
|
});
|
|
return;
|
|
}
|
|
|
|
if (typeof builtIns === 'string') {
|
|
classesToAdd.forEach(function (className) {
|
|
if (builtIns.indexOf(className) === -1) {
|
|
builtIns += ' ' + className;
|
|
}
|
|
});
|
|
phpLanguage.keywords.built_in = builtIns;
|
|
}
|
|
}
|
|
|
|
function collectLinkMetadata(container, typeText) {
|
|
var anchors = container.querySelectorAll('a');
|
|
var lastIndex = 0;
|
|
var meta = [];
|
|
|
|
for (var i = 0; i < anchors.length; i++) {
|
|
var anchor = anchors[i];
|
|
var text = anchor.textContent.trim();
|
|
if (!text) {
|
|
continue;
|
|
}
|
|
|
|
var href = anchor.getAttribute('href');
|
|
var start = typeText.indexOf(text, lastIndex);
|
|
|
|
if (start === -1) {
|
|
start = typeText.indexOf(text);
|
|
if (start === -1) {
|
|
continue;
|
|
}
|
|
}
|
|
|
|
meta.push({
|
|
start: start,
|
|
end: start + text.length,
|
|
href: href
|
|
});
|
|
|
|
lastIndex = start + text.length;
|
|
}
|
|
|
|
return meta;
|
|
}
|
|
|
|
function findTextPosition(container, targetIndex) {
|
|
var walker = document.createTreeWalker(
|
|
container,
|
|
NodeFilter.SHOW_TEXT,
|
|
null
|
|
);
|
|
|
|
var currentIndex = 0;
|
|
var currentNode;
|
|
|
|
while ((currentNode = walker.nextNode())) {
|
|
var nextIndex = currentIndex + currentNode.textContent.length;
|
|
|
|
if (targetIndex <= nextIndex) {
|
|
return {
|
|
node: currentNode,
|
|
offset: targetIndex - currentIndex
|
|
};
|
|
}
|
|
|
|
currentIndex = nextIndex;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function restoreLinks(codeElement, meta) {
|
|
var sorted = meta.slice().sort(function (a, b) {
|
|
return b.start - a.start;
|
|
});
|
|
|
|
for (var i = 0; i < sorted.length; i++) {
|
|
var info = sorted[i];
|
|
var startPos = findTextPosition(codeElement, info.start);
|
|
var endPos = findTextPosition(codeElement, info.end);
|
|
|
|
if (!startPos || !endPos) {
|
|
continue;
|
|
}
|
|
|
|
var range = document.createRange();
|
|
range.setStart(startPos.node, startPos.offset);
|
|
range.setEnd(endPos.node, endPos.offset);
|
|
|
|
var anchor = document.createElement('a');
|
|
anchor.setAttribute('href', info.href);
|
|
anchor.appendChild(range.extractContents());
|
|
range.insertNode(anchor);
|
|
range.detach();
|
|
}
|
|
}
|
|
|
|
function highlightAndRestore(codeElement, metadata) {
|
|
hljs.highlightElement(codeElement);
|
|
|
|
if (metadata && metadata.length) {
|
|
restoreLinks(codeElement, metadata);
|
|
}
|
|
}
|
|
|
|
ensureCustomClassesAreBuiltIn();
|
|
|
|
var exampleBlocks = document.querySelectorAll('pre.examples');
|
|
exampleBlocks.forEach(function (block) {
|
|
if (!block.dataset.language) {
|
|
block.dataset.language = 'php';
|
|
}
|
|
block.classList.add('language-php');
|
|
hljs.highlightElement(block);
|
|
});
|
|
|
|
var signatureBlocks = document.querySelectorAll('code.method-signature');
|
|
signatureBlocks.forEach(function (block) {
|
|
if (!block.classList.contains('language-php')) {
|
|
block.classList.add('language-php');
|
|
}
|
|
hljs.highlightElement(block);
|
|
});
|
|
|
|
var phpCodeBlocks = document.querySelectorAll('pre code.language-php');
|
|
phpCodeBlocks.forEach(function (block) {
|
|
if (block.classList.contains('method-signature')) {
|
|
return;
|
|
}
|
|
|
|
if (block.closest('pre.examples')) {
|
|
return;
|
|
}
|
|
|
|
if (block.parentElement && !block.parentElement.classList.contains('language-php')) {
|
|
block.parentElement.classList.add('language-php');
|
|
}
|
|
|
|
hljs.highlightElement(block);
|
|
});
|
|
|
|
highlightReturnTypes();
|
|
highlightMethodParameters();
|
|
highlightApiIndex();
|
|
|
|
function highlightReturnTypes() {
|
|
if (!document.createTreeWalker || !window.NodeFilter) {
|
|
return;
|
|
}
|
|
|
|
var containers = document.querySelectorAll('.return-value-content');
|
|
containers.forEach(function (container) {
|
|
var table = container.querySelector('table');
|
|
if (!table) {
|
|
return;
|
|
}
|
|
|
|
table.querySelectorAll('tr').forEach(function (row) {
|
|
var typeCell = row.querySelector('td');
|
|
if (!typeCell || typeCell.querySelector('code.return-type')) {
|
|
return;
|
|
}
|
|
|
|
var typeText = typeCell.textContent.trim();
|
|
if (!typeText) {
|
|
return;
|
|
}
|
|
|
|
var linkMeta = collectLinkMetadata(typeCell, typeText);
|
|
var code = document.createElement('code');
|
|
code.className = 'return-type language-php';
|
|
code.textContent = typeText;
|
|
|
|
typeCell.innerHTML = '';
|
|
typeCell.appendChild(code);
|
|
|
|
highlightAndRestore(code, linkMeta);
|
|
});
|
|
});
|
|
}
|
|
|
|
function highlightMethodParameters() {
|
|
if (!document.createTreeWalker || !window.NodeFilter) {
|
|
return;
|
|
}
|
|
|
|
var headings = document.querySelectorAll('.tags > h4');
|
|
headings.forEach(function (heading) {
|
|
if (!heading.textContent || heading.textContent.trim() !== 'Parameters') {
|
|
return;
|
|
}
|
|
|
|
var table = heading.nextElementSibling;
|
|
while (table && table.tagName !== 'TABLE') {
|
|
table = table.nextElementSibling;
|
|
}
|
|
|
|
if (!table) {
|
|
return;
|
|
}
|
|
|
|
table.querySelectorAll('tr').forEach(function (row) {
|
|
var cells = row.querySelectorAll('td');
|
|
if (!cells.length) {
|
|
return;
|
|
}
|
|
|
|
enhanceParameterCell(cells[0], 'parameter-type');
|
|
|
|
if (cells.length > 1) {
|
|
enhanceParameterCell(cells[1], 'parameter-name');
|
|
}
|
|
});
|
|
});
|
|
|
|
function enhanceParameterCell(cell, className) {
|
|
if (!cell || cell.querySelector('code.' + className)) {
|
|
return;
|
|
}
|
|
|
|
var cellText = cell.textContent.trim();
|
|
if (!cellText) {
|
|
return;
|
|
}
|
|
|
|
var meta = collectLinkMetadata(cell, cellText);
|
|
var code = document.createElement('code');
|
|
code.className = className + ' language-php';
|
|
code.textContent = cellText;
|
|
|
|
cell.innerHTML = '';
|
|
cell.appendChild(code);
|
|
|
|
highlightAndRestore(code, meta);
|
|
}
|
|
}
|
|
|
|
function highlightApiIndex() {
|
|
if (!document.createTreeWalker || !window.NodeFilter) {
|
|
return;
|
|
}
|
|
|
|
var potentialContainers = document.querySelectorAll('.container-fluid.underlined');
|
|
var containers = [];
|
|
var anchorSelector = '.row .col-md-8 > a[href^="#method_"]';
|
|
|
|
for (var i = 0; i < potentialContainers.length; i++) {
|
|
var candidate = potentialContainers[i];
|
|
if (!candidate.querySelector(anchorSelector)) {
|
|
continue;
|
|
}
|
|
|
|
var heading = candidate.previousElementSibling;
|
|
if (heading && heading.tagName === 'H2' && heading.textContent && heading.textContent.trim() === 'Methods') {
|
|
containers.push(candidate);
|
|
}
|
|
}
|
|
|
|
if (!containers.length) {
|
|
return;
|
|
}
|
|
|
|
for (var j = 0; j < containers.length; j++) {
|
|
var container = containers[j];
|
|
var rows = container.querySelectorAll('.row');
|
|
|
|
for (var k = 0; k < rows.length; k++) {
|
|
var row = rows[k];
|
|
enhanceTypeCell(row.querySelector('.col-md-2.type'));
|
|
enhanceSignatureCell(row.querySelector('.col-md-8'));
|
|
}
|
|
}
|
|
|
|
function enhanceTypeCell(typeCell) {
|
|
if (!typeCell || typeCell.querySelector('code.method-index-type')) {
|
|
return;
|
|
}
|
|
|
|
var typeText = typeCell.textContent.trim();
|
|
if (!typeText) {
|
|
return;
|
|
}
|
|
|
|
var meta = collectLinkMetadata(typeCell, typeText);
|
|
|
|
var code = document.createElement('code');
|
|
code.className = 'method-index-type language-php';
|
|
code.textContent = typeText;
|
|
|
|
typeCell.innerHTML = '';
|
|
typeCell.appendChild(code);
|
|
|
|
highlightAndRestore(code, meta);
|
|
}
|
|
|
|
function enhanceSignatureCell(signatureCell) {
|
|
if (!signatureCell || signatureCell.querySelector('code.method-index-signature')) {
|
|
return;
|
|
}
|
|
|
|
var descriptionStart = null;
|
|
for (var i = 0; i < signatureCell.children.length; i++) {
|
|
var child = signatureCell.children[i];
|
|
if (child.tagName === 'P') {
|
|
descriptionStart = child;
|
|
break;
|
|
}
|
|
}
|
|
|
|
var nodesToProcess = [];
|
|
var current = signatureCell.firstChild;
|
|
while (current && current !== descriptionStart) {
|
|
nodesToProcess.push(current);
|
|
current = current.nextSibling;
|
|
}
|
|
|
|
if (!nodesToProcess.length) {
|
|
return;
|
|
}
|
|
|
|
var signatureText = '';
|
|
for (var j = 0; j < nodesToProcess.length; j++) {
|
|
signatureText += nodesToProcess[j].textContent || '';
|
|
}
|
|
signatureText = signatureText.replace(/\s+/g, ' ').trim();
|
|
|
|
if (!signatureText) {
|
|
return;
|
|
}
|
|
|
|
var tempWrapper = document.createElement('div');
|
|
for (var k = 0; k < nodesToProcess.length; k++) {
|
|
tempWrapper.appendChild(nodesToProcess[k].cloneNode(true));
|
|
}
|
|
|
|
var meta = collectLinkMetadata(tempWrapper, signatureText);
|
|
|
|
for (var l = 0; l < nodesToProcess.length; l++) {
|
|
if (nodesToProcess[l].parentNode === signatureCell) {
|
|
signatureCell.removeChild(nodesToProcess[l]);
|
|
}
|
|
}
|
|
|
|
var code = document.createElement('code');
|
|
code.className = 'method-index-signature language-php';
|
|
code.textContent = signatureText;
|
|
|
|
signatureCell.insertBefore(code, descriptionStart);
|
|
|
|
highlightAndRestore(code, meta);
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
|
|
|
|
<link rel="search"
|
|
type="application/opensearchdescription+xml"
|
|
href="https://phpredis.github.io/opensearch.xml"
|
|
title="PhpRedis API (develop)" />
|
|
</head>
|
|
|
|
<body id="class" data-name="class:RedisCluster" data-root-path="" data-search-index-url="doctum-search.json">
|
|
<div id="content">
|
|
<div id="left-column">
|
|
<div id="control-panel">
|
|
<div class="search-bar hidden" id="search-progress-bar-container">
|
|
<div class="progress">
|
|
<div class="progress-bar" role="progressbar" id="search-progress-bar"
|
|
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
|
|
</div>
|
|
</div>
|
|
<form id="search-form" action="search.html">
|
|
<span class="icon icon-search"></span>
|
|
<input name="search"
|
|
id="doctum-search-auto-complete"
|
|
class="typeahead form-control"
|
|
type="search"
|
|
placeholder="Search"
|
|
spellcheck="false"
|
|
autocorrect="off"
|
|
autocomplete="off"
|
|
autocapitalize="off">
|
|
<div class="auto-complete-results" id="auto-complete-results"></div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="api-tree"></div>
|
|
|
|
</div>
|
|
<div id="right-column">
|
|
<nav id="site-nav" class="navbar navbar-default" role="navigation">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="index.html">PhpRedis API</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar-elements">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="classes.html">Classes</a></li>
|
|
<li><a href="interfaces.html">Interfaces</a></li>
|
|
<li><a href="traits.html">Traits</a></li>
|
|
<li><a href="doc-index.html">Index</a></li>
|
|
<li><a href="search.html">Search</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div id="page-content">
|
|
<div class="page-header">
|
|
<h1>RedisCluster
|
|
</h1>
|
|
</div>
|
|
|
|
|
|
<p> class
|
|
<strong>RedisCluster</strong> (<a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php">View source</a>)
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Constants</h2> <table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
OPT_SLAVE_FAILOVER
|
|
</td>
|
|
<td class="last">
|
|
<p><em><p>Used to configure how <code>PhpRedis</code> will failover to replica nodes when a
|
|
primary node fails to respond.</p></em></p>
|
|
<p></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
FAILOVER_NONE
|
|
</td>
|
|
<td class="last">
|
|
<p><em><p>Never read from replicas.</p></em></p>
|
|
<p></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
FAILOVER_ERROR
|
|
</td>
|
|
<td class="last">
|
|
<p><em><p>Attempt to read from replicas when the primary errors out or is down.</p></em></p>
|
|
<p></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
FAILOVER_DISTRIBUTE
|
|
</td>
|
|
<td class="last">
|
|
<p><em><p>Distribute readonly commands at random between the primary and
|
|
replica(s).</p></em></p>
|
|
<p></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
FAILOVER_DISTRIBUTE_SLAVES
|
|
</td>
|
|
<td class="last">
|
|
<p><em><p>Distribute readonly commands between the replicas only.</p></em></p>
|
|
<p></p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
<div class="container-fluid underlined">
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method___construct">__construct</a>(string|null $name, array|null $seeds = null, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = null, array|null $context = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__compress">_compress</a>(string $value)
|
|
|
|
<p><p>{<a href="Redis.html">\Redis::_compress()}</a></p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__uncompress">_uncompress</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__serialize">_serialize</a>(mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__unserialize">_unserialize</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__pack">_pack</a>(mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__digest">_digest</a>(mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__unpack">_unpack</a>(string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__prefix">_prefix</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__masters">_masters</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method__redir">_redir</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_acl">acl</a>(string|array $key_or_address, string $subcmd, string ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_append">append</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bgrewriteaof">bgrewriteaof</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_wait">wait</a>(string|array $key_or_address, int $numreplicas, int $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_waitaof">waitaof</a>(string|array $key_or_address, int $numlocal, int $numreplicas, int $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bgsave">bgsave</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitcount">bitcount</a>(string $key, int $start = 0, int $end = -1, bool $bybit = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitop">bitop</a>(string $operation, string $deskey, string $srckey, string ...$otherkeys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bitpos">bitpos</a>(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false)
|
|
|
|
<p><p>Return the position of the first bit set to 0 or 1 in a string.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blpop">blpop</a>(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_brpop">brpop</a>(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_brpoplpush">brpoplpush</a>(string $srckey, string $deskey, int $timeout)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lmove">lmove</a>(string $src, string $dst, string $wherefrom, string $whereto)
|
|
|
|
<p><p>Move an element from one list into another.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blmove">blmove</a>(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
|
|
|
|
<p><p>Move an element from one list to another, blocking up to a timeout until an element is available.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzpopmax">bzpopmax</a>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzpopmin">bzpopmin</a>(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_bzmpop">bzmpop</a>(float $timeout, array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zmpop">zmpop</a>(array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_blmpop">blmpop</a>(float $timeout, array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|null|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lmpop">lmpop</a>(array $keys, string $from, int $count = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_clearlasterror">clearlasterror</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_client">client</a>(string|array $key_or_address, string $subcommand, string|null $arg = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_close">close</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_cluster">cluster</a>(string|array $key_or_address, string $command, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_command">command</a>(mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_config">config</a>(string|array $key_or_address, string $subcommand, mixed ...$extra_args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_dbsize">dbsize</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_copy">copy</a>(string $src, string $dst, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decr">decr</a>(string $key, int $by = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decrby">decrby</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
float
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_decrbyfloat">decrbyfloat</a>(string $key, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_del">del</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_delex">delex</a>(string $key, array|null $options = null)
|
|
|
|
<p><p>Delete a key conditionally based on its value or hash digest</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_delifeq">delifeq</a>(string $key, mixed $value)
|
|
|
|
<p><p>Delete a key if it's equal to the specified value. This command is
|
|
specific to Valkey >= 9.0</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_discard">discard</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_dump">dump</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_echo">echo</a>(string|array $key_or_address, string $msg)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_eval">eval</a>(string $script, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_eval_ro">eval_ro</a>(string $script, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_evalsha">evalsha</a>(string $script_sha, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_evalsha_ro">evalsha_ro</a>(string $script_sha, array $args = [], int $num_keys = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_exec">exec</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_exists">exists</a>(mixed $key, mixed ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_touch">touch</a>(mixed $key, mixed ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expire">expire</a>(string $key, int $timeout, string|null $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expireat">expireat</a>(string $key, int $timestamp, string|null $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expiretime">expiretime</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpiretime">pexpiretime</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_flushall">flushall</a>(string|array $key_or_address, bool $async = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_flushdb">flushdb</a>(string|array $key_or_address, bool $async = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geoadd">geoadd</a>(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geodist">geodist</a>(string $key, string $src, string $dest, string|null $unit = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geohash">geohash</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geopos">geopos</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadius">georadius</a>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadius_ro">georadius_ro</a>(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadiusbymember">georadiusbymember</a>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_georadiusbymember_ro">georadiusbymember_ro</a>(string $key, string $member, float $radius, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geosearch">geosearch</a>(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_geosearchstore">geosearchstore</a>(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_get">get</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getdel">getdel</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getWithMeta">getWithMeta</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getex">getex</a>(string $key, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getbit">getbit</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
string|null
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getlasterror">getlasterror</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getmode">getmode</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getoption">getoption</a>(int $option)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getrange">getrange</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lcs">lcs</a>(string $key1, string $key2, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_getset">getset</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_gettransferredbytes">gettransferredbytes</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_cleartransferredbytes">cleartransferredbytes</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hdel">hdel</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hexists">hexists</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hget">hget</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetall">hgetall</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetWithMeta">hgetWithMeta</a>(string $key, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hincrby">hincrby</a>(string $key, string $member, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hincrbyfloat">hincrbyfloat</a>(string $key, string $member, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hkeys">hkeys</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hlen">hlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hmget">hmget</a>(string $key, array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetex">hgetex</a>(string $key, array $fields, string|array|null $expiry = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hsetex">hsetex</a>(string $key, array $fields, array|null $expiry = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hgetdel">hgetdel</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hmset">hmset</a>(string $key, array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hscan">hscan</a>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expiremember">expiremember</a>(string $key, string $field, int $ttl, string|null $unit = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_expirememberat">expirememberat</a>(string $key, string $field, int $timestamp)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hrandfield">hrandfield</a>(string $key, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hset">hset</a>(string $key, string $member, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hsetnx">hsetnx</a>(string $key, string $member, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hstrlen">hstrlen</a>(string $key, string $field)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hexpire">hexpire</a>(string $key, int $ttl, array $fields, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpexpire">hpexpire</a>(string $key, int $ttl, array $fields, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hexpireat">hexpireat</a>(string $key, int $time, array $fields, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpexpireat">hpexpireat</a>(string $key, int $mstime, array $fields, string|null $mode = NULL)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_httl">httl</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpttl">hpttl</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hexpiretime">hexpiretime</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpexpiretime">hpexpiretime</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hpersist">hpersist</a>(string $key, array $fields)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_hvals">hvals</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incr">incr</a>(string $key, int $by = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incrby">incrby</a>(string $key, int $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_incrbyfloat">incrbyfloat</a>(string $key, float $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_info">info</a>(string|array $key_or_address, string ...$sections)
|
|
|
|
<p><p>Retrieve information about the connected redis-server. If no arguments are passed to
|
|
this function, redis will return every info field. Alternatively you may pass a specific
|
|
section you want returned (e.g. 'server', or 'memory') to receive only information pertaining
|
|
to that section.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_keys">keys</a>(string $pattern)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lastsave">lastsave</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lget">lget</a>(string $key, int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lindex">lindex</a>(string $key, int $index)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_linsert">linsert</a>(string $key, string $pos, mixed $pivot, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_llen">llen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpop">lpop</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|null|bool|int|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpos">lpos</a>(string $key, mixed $value, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpush">lpush</a>(string $key, mixed $value, mixed ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lpushx">lpushx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lrange">lrange</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lrem">lrem</a>(string $key, mixed $value, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_lset">lset</a>(string $key, int $index, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ltrim">ltrim</a>(string $key, int $start, int $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_mget">mget</a>(array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_mset">mset</a>(array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_msetnx">msetnx</a>(array $key_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
Redis|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_msetex">msetex</a>(array $key_vals, int|float|array|null $expiry = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_multi">multi</a>(int $value = Redis::MULTI)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_object">object</a>(string $subcommand, string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_persist">persist</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpire">pexpire</a>(string $key, int $timeout, string|null $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pexpireat">pexpireat</a>(string $key, int $timestamp, string|null $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfadd">pfadd</a>(string $key, array $elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfcount">pfcount</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pfmerge">pfmerge</a>(string $key, array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ping">ping</a>(string|array $key_or_address, string|null $message = null)
|
|
|
|
<p><p>PING an instance in the redis cluster.</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_psetex">psetex</a>(string $key, int $timeout, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_psubscribe">psubscribe</a>(array $patterns, callable $callback)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pttl">pttl</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_publish">publish</a>(string $channel, string $message)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_pubsub">pubsub</a>(string|array $key_or_address, string ...$values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_punsubscribe">punsubscribe</a>(string $pattern, string ...$other_patterns)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_randomkey">randomkey</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rawcommand">rawcommand</a>(string|array $key_or_address, string $command, mixed ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rename">rename</a>(string $key_src, string $key_dst)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_renamenx">renamenx</a>(string $key, string $newkey)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_restore">restore</a>(string $key, int $timeout, string $value, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_role">role</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpop">rpop</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpoplpush">rpoplpush</a>(string $src, string $dst)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpush">rpush</a>(string $key, mixed ...$elements)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_rpushx">rpushx</a>(string $key, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sadd">sadd</a>(string $key, mixed $value, mixed ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|int
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_saddarray">saddarray</a>(string $key, array $values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_save">save</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_scan">scan</a>(null|int|string $iterator, string|array $key_or_address, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_scard">scard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_script">script</a>(string|array $key_or_address, mixed ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sdiff">sdiff</a>(string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sdiffstore">sdiffstore</a>(string $dst, string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_set">set</a>(string $key, mixed $value, mixed $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setbit">setbit</a>(string $key, int $offset, bool $onoff)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setex">setex</a>(string $key, int $expire, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setnx">setnx</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setoption">setoption</a>(int $option, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_setrange">setrange</a>(string $key, int $offset, string $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sinter">sinter</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sintercard">sintercard</a>(array $keys, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sinterstore">sinterstore</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sismember">sismember</a>(string $key, mixed $value)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_smismember">smismember</a>(string $key, string $member, string ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_slowlog">slowlog</a>(string|array $key_or_address, mixed ...$args)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_smembers">smembers</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_smove">smove</a>(string $src, string $dst, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|bool|int|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sort">sort</a>(string $key, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|bool|int|string
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sort_ro">sort_ro</a>(string $key, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_spop">spop</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_srandmember">srandmember</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_srem">srem</a>(string $key, mixed $value, mixed ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sscan">sscan</a>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_strlen">strlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
void
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_subscribe">subscribe</a>(array $channels, callable $cb)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sunion">sunion</a>(string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_sunionstore">sunionstore</a>(string $dst, string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_time">time</a>(string|array $key_or_address)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_ttl">ttl</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_type">type</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unsubscribe">unsubscribe</a>(array $channels)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unlink">unlink</a>(array|string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_unwatch">unwatch</a>()
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_watch">watch</a>(string $key, string ...$other_keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vadd">vadd</a>(string $key, array $values, mixed $element, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vsim">vsim</a>(string $key, mixed $member, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vcard">vcard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vdim">vdim</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vinfo">vinfo</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vismember">vismember</a>(string $key, mixed $member)
|
|
|
|
<p><p>Check if an element is a member of a vectorset</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vemb">vemb</a>(string $key, mixed $member, bool $raw = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vrandmember">vrandmember</a>(string $key, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vrange">vrange</a>(string $key, string $min, string $max, int $count = -1)
|
|
|
|
<p><p>Retreive a lexographical range of elements from a vector set</p></p> </div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vrem">vrem</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vlinks">vlinks</a>(string $key, mixed $member, bool $withscores = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vgetattr">vgetattr</a>(string $key, mixed $member, bool $decode = true)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_vsetattr">vsetattr</a>(string $key, mixed $member, array|string $attributes)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_gcra">gcra</a>(string $key, int $maxBurst, int $requestsPerPeriod, int $period, int $tokens = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xack">xack</a>(string $key, string $group, array $ids)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xadd">xadd</a>(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xclaim">xclaim</a>(string $key, string $group, string $consumer, int $min_iddle, array $ids, array $options)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xdel">xdel</a>(string $key, array $ids)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xdelex">xdelex</a>(string $key, array $ids, string|null $mode = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xgroup">xgroup</a>(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xautoclaim">xautoclaim</a>(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
mixed
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xinfo">xinfo</a>(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xlen">xlen</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xpending">xpending</a>(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xrange">xrange</a>(string $key, string $start, string $end, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xread">xread</a>(array $streams, int $count = -1, int $block = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xreadgroup">xreadgroup</a>(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xrevrange">xrevrange</a>(string $key, string $start, string $end, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_xtrim">xtrim</a>(string $key, int $maxlen, bool $approx = false, bool $minid = false, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zadd">zadd</a>(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zcard">zcard</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zcount">zcount</a>(string $key, string $start, string $end)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zincrby">zincrby</a>(string $key, float $value, string $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zinterstore">zinterstore</a>(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zintercard">zintercard</a>(array $keys, int $limit = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zlexcount">zlexcount</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zpopmax">zpopmax</a>(string $key, int|null $value = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zpopmin">zpopmin</a>(string $key, int|null $value = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|bool
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrange">zrange</a>(string $key, mixed $start, mixed $end, array|bool|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrangestore">zrangestore</a>(string $dstkey, string $srckey, int $start, int $end, array|bool|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrandmember">zrandmember</a>(string $key, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrangebylex">zrangebylex</a>(string $key, string $min, string $max, int $offset = -1, int $count = -1)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrangebyscore">zrangebyscore</a>(string $key, string $start, string $end, array $options = [])
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrank">zrank</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrem">zrem</a>(string $key, string $value, string ...$other_values)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zremrangebylex">zremrangebylex</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zremrangebyrank">zremrangebyrank</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zremrangebyscore">zremrangebyscore</a>(string $key, string $min, string $max)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrange">zrevrange</a>(string $key, string $min, string $max, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrangebylex">zrevrangebylex</a>(string $key, string $min, string $max, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrangebyscore">zrevrangebyscore</a>(string $key, string $min, string $max, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zrevrank">zrevrank</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|bool|array
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zscan">zscan</a>(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|float|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zscore">zscore</a>(string $key, mixed $member)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zmscore">zmscore</a>(string $key, mixed $member, mixed ...$other_members)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zunionstore">zunionstore</a>(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zinter">zinter</a>(array $keys, array|null $weights = null, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|int|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zdiffstore">zdiffstore</a>(string $dst, array $keys)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zunion">zunion</a>(array $keys, array|null $weights = null, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|array|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_zdiff">zdiff</a>(array $keys, array|null $options = null)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-2 type">
|
|
RedisCluster|string|false
|
|
</div>
|
|
<div class="col-md-8">
|
|
<a href="#method_digest">digest</a>(string $key)
|
|
|
|
<p class="no-description">No description</p>
|
|
</div>
|
|
<div class="col-md-2"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<h2>Details</h2>
|
|
|
|
<div id="method-details">
|
|
<div class="method-item">
|
|
|
|
<h3 id="method___construct">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L57">at line 57</a></div>
|
|
<code class="method-signature language-php">__construct(string|null $name, array|null $seeds = null, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, mixed $auth = null, array|null $context = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$name</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$seeds</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|float</td>
|
|
<td>$read_timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$persistent</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$auth</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$context</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__compress">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L62">at line 62</a></div>
|
|
<code class="method-signature language-php">string _compress(string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>{<a href="Redis.html">\Redis::_compress()}</a></p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__uncompress">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L67">at line 67</a></div>
|
|
<code class="method-signature language-php">string _uncompress(string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__uncompress">
|
|
Redis::_uncompress</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__serialize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L72">at line 72</a></div>
|
|
<code class="method-signature language-php">bool|string _serialize(mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__serialize">
|
|
Redis::_serialize</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__unserialize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L77">at line 77</a></div>
|
|
<code class="method-signature language-php">mixed _unserialize(string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__unserialize">
|
|
Redis::_unserialize</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__pack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L82">at line 82</a></div>
|
|
<code class="method-signature language-php">string _pack(mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__pack">
|
|
Redis::_pack</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__digest">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L87">at line 87</a></div>
|
|
<code class="method-signature language-php">string _digest(mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__digest">
|
|
Redis::_digest</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__unpack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L92">at line 92</a></div>
|
|
<code class="method-signature language-php">mixed _unpack(string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__unpack">
|
|
Redis::_unpack</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__prefix">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L97">at line 97</a></div>
|
|
<code class="method-signature language-php">bool|string _prefix(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method__prefix">
|
|
Redis::_prefix</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__masters">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L99">at line 99</a></div>
|
|
<code class="method-signature language-php">array _masters()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method__redir">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L101">at line 101</a></div>
|
|
<code class="method-signature language-php">string|null _redir()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_acl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L106">at line 106</a></div>
|
|
<code class="method-signature language-php">mixed acl(string|array $key_or_address, string $subcmd, string ...$args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcmd</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_acl">
|
|
Redis::acl</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_append">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L111">at line 111</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|int append(string $key, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_append">
|
|
Redis::append</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bgrewriteaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L116">at line 116</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool bgrewriteaof(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bgrewriteaof">
|
|
Redis::bgrewriteaof</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_wait">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L121">at line 121</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false wait(string|array $key_or_address, int $numreplicas, int $timeout)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$numreplicas</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_wait">
|
|
Redis::wait</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_waitaof">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L126">at line 126</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false waitaof(string|array $key_or_address, int $numlocal, int $numreplicas, int $timeout)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$numlocal</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$numreplicas</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_waitaof">
|
|
Redis::waitaof</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bgsave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L132">at line 132</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool bgsave(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bgSave">
|
|
Redis::bgSave</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bitcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L137">at line 137</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|int bitcount(string $key, int $start = 0, int $end = -1, bool $bybit = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bybit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bitcount">
|
|
Redis::bitcount</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bitop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L142">at line 142</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|int bitop(string $operation, string $deskey, string $srckey, string ...$otherkeys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$deskey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$otherkeys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bitop">
|
|
Redis::bitop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bitpos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L156">at line 156</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false bitpos(string $key, bool $bit, int $start = 0, int $end = -1, bool $bybit = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Return the position of the first bit set to 0 or 1 in a string.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td><p>The key to check (must be a string)</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bit</td>
|
|
<td><p>Whether to look for an unset (0) or set (1) bit.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td><p>Where in the string to start looking.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td><p>Where in the string to stop looking.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$bybit</td>
|
|
<td><p>If true, Redis will treat $start and $end as BIT values and not bytes, so if start
|
|
was 0 and end was 2, Redis would only search the first two bits.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://https://redis.io/commands/bitpos/">https://https://redis.io/commands/bitpos/</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_blpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L161">at line 161</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|null|false blpop(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|float|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_blPop">
|
|
Redis::blPop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_brpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L166">at line 166</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|null|false brpop(string|array $key, string|float|int $timeout_or_key, mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|float|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_brPop">
|
|
Redis::brPop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_brpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L171">at line 171</a></div>
|
|
<code class="method-signature language-php">mixed brpoplpush(string $srckey, string $deskey, int $timeout)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$deskey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_brpoplpush">
|
|
Redis::brpoplpush</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lmove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L178">at line 178</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false lmove(string $src, string $dst, string $wherefrom, string $whereto)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Move an element from one list into another.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$wherefrom</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$whereto</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lMove">
|
|
Redis::lMove</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_blmove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L186">at line 186</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Move an element from one list to another, blocking up to a timeout until an element is available.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$wherefrom</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$whereto</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_blmove">
|
|
Redis::blmove</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bzpopmax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L191">at line 191</a></div>
|
|
<code class="method-signature language-php">array bzpopmax(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bzPopMax">
|
|
Redis::bzPopMax</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bzpopmin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L196">at line 196</a></div>
|
|
<code class="method-signature language-php">array bzpopmin(string|array $key, string|int $timeout_or_key, mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|int</td>
|
|
<td>$timeout_or_key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bzPopMin">
|
|
Redis::bzPopMin</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_bzmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L201">at line 201</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|null|false bzmpop(float $timeout, array $keys, string $from, int $count = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_bzmpop">
|
|
Redis::bzmpop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L206">at line 206</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|null|false zmpop(array $keys, string $from, int $count = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zmpop">
|
|
Redis::zmpop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_blmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L211">at line 211</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|null|false blmpop(float $timeout, array $keys, string $from, int $count = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_blmpop">
|
|
Redis::blmpop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lmpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L216">at line 216</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|null|false lmpop(array $keys, string $from, int $count = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$from</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|null|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lmpop">
|
|
Redis::lmpop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_clearlasterror">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L221">at line 221</a></div>
|
|
<code class="method-signature language-php">bool clearlasterror()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_clearLastError">
|
|
Redis::clearLastError</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_client">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L226">at line 226</a></div>
|
|
<code class="method-signature language-php">array|string|bool client(string|array $key_or_address, string $subcommand, string|null $arg = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$arg</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_client">
|
|
Redis::client</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_close">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L231">at line 231</a></div>
|
|
<code class="method-signature language-php">bool close()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_close">
|
|
Redis::close</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_cluster">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L236">at line 236</a></div>
|
|
<code class="method-signature language-php">mixed cluster(string|array $key_or_address, string $command, mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::cluster()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_command">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L241">at line 241</a></div>
|
|
<code class="method-signature language-php">mixed command(mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_command">
|
|
Redis::command</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_config">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L246">at line 246</a></div>
|
|
<code class="method-signature language-php">mixed config(string|array $key_or_address, string $subcommand, mixed ...$extra_args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$extra_args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_config">
|
|
Redis::config</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_dbsize">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L251">at line 251</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int dbsize(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_dbSize">
|
|
Redis::dbSize</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_copy">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L256">at line 256</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool copy(string $src, string $dst, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/copy">https://redis.io/commands/copy</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_decr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L261">at line 261</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false decr(string $key, int $by = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$by</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_decr">
|
|
Redis::decr</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_decrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L266">at line 266</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false decrby(string $key, int $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_decrBy">
|
|
Redis::decrBy</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_decrbyfloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L271">at line 271</a></div>
|
|
<code class="method-signature language-php">float decrbyfloat(string $key, float $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>float</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::decrbyfloat()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_del">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L276">at line 276</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false del(array|string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_del">
|
|
Redis::del</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_delex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L286">at line 286</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false delex(string $key, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Delete a key conditionally based on its value or hash digest</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td><p>The key to delete</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td><p>An array with options to modify how DELX works.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td><p>Returns 1 if the key was deleted, 0 if it was not.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_delifeq">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L296">at line 296</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false delifeq(string $key, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Delete a key if it's equal to the specified value. This command is
|
|
specific to Valkey >= 9.0</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td><p>The key to delete</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td><p>The value to compare against the key's value.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td><p>Returns 1 if the key was deleted, 0 if it was not.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_discard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L301">at line 301</a></div>
|
|
<code class="method-signature language-php">bool discard()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_discard">
|
|
Redis::discard</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_dump">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L306">at line 306</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false dump(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_dump">
|
|
Redis::dump</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_echo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L311">at line 311</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false echo(string|array $key_or_address, string $msg)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$msg</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_echo">
|
|
Redis::echo</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_eval">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L316">at line 316</a></div>
|
|
<code class="method-signature language-php">mixed eval(string $script, array $args = [], int $num_keys = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_eval">
|
|
Redis::eval</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_eval_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L321">at line 321</a></div>
|
|
<code class="method-signature language-php">mixed eval_ro(string $script, array $args = [], int $num_keys = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_eval_ro">
|
|
Redis::eval_ro</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_evalsha">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L326">at line 326</a></div>
|
|
<code class="method-signature language-php">mixed evalsha(string $script_sha, array $args = [], int $num_keys = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script_sha</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_evalsha">
|
|
Redis::evalsha</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_evalsha_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L331">at line 331</a></div>
|
|
<code class="method-signature language-php">mixed evalsha_ro(string $script_sha, array $args = [], int $num_keys = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$script_sha</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$args</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$num_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_evalsha_ro">
|
|
Redis::evalsha_ro</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_exec">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L336">at line 336</a></div>
|
|
<code class="method-signature language-php">array|false exec()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_exec">
|
|
Redis::exec</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_exists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L341">at line 341</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|bool exists(mixed $key, mixed ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_exists">
|
|
Redis::exists</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_touch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L346">at line 346</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|bool touch(mixed $key, mixed ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_touch">
|
|
Redis::touch</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L351">at line 351</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool expire(string $key, int $timeout, string|null $mode = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_expire">
|
|
Redis::expire</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expireat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L356">at line 356</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool expireat(string $key, int $timestamp, string|null $mode = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_expireAt">
|
|
Redis::expireAt</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L361">at line 361</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false expiretime(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_expiretime">
|
|
Redis::expiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L366">at line 366</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false pexpiretime(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pexpiretime">
|
|
Redis::pexpiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_flushall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L371">at line 371</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool flushall(string|array $key_or_address, bool $async = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$async</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_flushAll">
|
|
Redis::flushAll</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_flushdb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L376">at line 376</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool flushdb(string|array $key_or_address, bool $async = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$async</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_flushDB">
|
|
Redis::flushDB</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geoadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L381">at line 381</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false geoadd(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_triples_and_options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_geoadd">
|
|
Redis::geoadd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geodist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L386">at line 386</a></div>
|
|
<code class="method-signature language-php">RedisCluster|float|false geodist(string $key, string $src, string $dest, string|null $unit = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dest</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_geodist">
|
|
Redis::geodist</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geohash">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L391">at line 391</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false geohash(string $key, string $member, string ...$other_members)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_geohash">
|
|
Redis::geohash</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geopos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L396">at line 396</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false geopos(string $key, string $member, string ...$other_members)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_geopos">
|
|
Redis::geopos</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadius">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L401">at line 401</a></div>
|
|
<code class="method-signature language-php">mixed georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_georadius">
|
|
Redis::georadius</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadius_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L406">at line 406</a></div>
|
|
<code class="method-signature language-php">mixed georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lng</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$lat</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_georadius_ro">
|
|
Redis::georadius_ro</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadiusbymember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L411">at line 411</a></div>
|
|
<code class="method-signature language-php">mixed georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_georadiusbymember">
|
|
Redis::georadiusbymember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_georadiusbymember_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L416">at line 416</a></div>
|
|
<code class="method-signature language-php">mixed georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$radius</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_georadiusbymember_ro">
|
|
Redis::georadiusbymember_ro</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geosearch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L421">at line 421</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$position</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|int|float</td>
|
|
<td>$shape</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/geosearch">https://redis.io/commands/geosearch</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_geosearchstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L426">at line 426</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|int|false geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$position</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|int|float</td>
|
|
<td>$shape</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/geosearchstore">https://redis.io/commands/geosearchstore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_get">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L431">at line 431</a></div>
|
|
<code class="method-signature language-php">mixed get(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_get">
|
|
Redis::get</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L436">at line 436</a></div>
|
|
<code class="method-signature language-php">mixed getdel(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getDel">
|
|
Redis::getDel</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getWithMeta">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L441">at line 441</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false getWithMeta(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getWithMeta">
|
|
Redis::getWithMeta</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L446">at line 446</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false getex(string $key, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getEx">
|
|
Redis::getEx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getbit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L451">at line 451</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false getbit(string $key, int $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getBit">
|
|
Redis::getBit</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getlasterror">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L456">at line 456</a></div>
|
|
<code class="method-signature language-php">string|null getlasterror()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getLastError">
|
|
Redis::getLastError</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getmode">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L461">at line 461</a></div>
|
|
<code class="method-signature language-php">int getmode()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getMode">
|
|
Redis::getMode</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getoption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L466">at line 466</a></div>
|
|
<code class="method-signature language-php">mixed getoption(int $option)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$option</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getOption">
|
|
Redis::getOption</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L471">at line 471</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false getrange(string $key, int $start, int $end)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getRange">
|
|
Redis::getRange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lcs">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L476">at line 476</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|array|int|false lcs(string $key1, string $key2, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key2</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lcs">
|
|
Redis::lcs</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_getset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L481">at line 481</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|bool getset(string $key, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getset">
|
|
Redis::getset</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_gettransferredbytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L486">at line 486</a></div>
|
|
<code class="method-signature language-php">array|false gettransferredbytes()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_getTransferredBytes">
|
|
Redis::getTransferredBytes</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_cleartransferredbytes">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L491">at line 491</a></div>
|
|
<code class="method-signature language-php">void cleartransferredbytes()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_clearTransferredBytes">
|
|
Redis::clearTransferredBytes</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L496">at line 496</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false hdel(string $key, string $member, string ...$other_members)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hDel">
|
|
Redis::hDel</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hexists">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L501">at line 501</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool hexists(string $key, string $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hExists">
|
|
Redis::hExists</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L506">at line 506</a></div>
|
|
<code class="method-signature language-php">mixed hget(string $key, string $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hGet">
|
|
Redis::hGet</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hgetall">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L511">at line 511</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hgetall(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hGetAll">
|
|
Redis::hGetAll</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hgetWithMeta">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L516">at line 516</a></div>
|
|
<code class="method-signature language-php">mixed hgetWithMeta(string $key, string $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hGetWithMeta">
|
|
Redis::hGetWithMeta</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hincrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L521">at line 521</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false hincrby(string $key, string $member, int $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hIncrBy">
|
|
Redis::hIncrBy</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hincrbyfloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L526">at line 526</a></div>
|
|
<code class="method-signature language-php">RedisCluster|float|false hincrbyfloat(string $key, string $member, float $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hIncrByFloat">
|
|
Redis::hIncrByFloat</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hkeys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L531">at line 531</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hkeys(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hKeys">
|
|
Redis::hKeys</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L536">at line 536</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false hlen(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hLen">
|
|
Redis::hLen</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hmget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L541">at line 541</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hmget(string $key, array $keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hMget">
|
|
Redis::hMget</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hgetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L546">at line 546</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hgetex(string $key, array $fields, string|array|null $expiry = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|array|null</td>
|
|
<td>$expiry</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hgetex">
|
|
Redis::hgetex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hsetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L551">at line 551</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false hsetex(string $key, array $fields, array|null $expiry = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$expiry</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hsetex">
|
|
Redis::hsetex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hgetdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L556">at line 556</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hgetdel(string $key, array $fields)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hgetdel">
|
|
Redis::hgetdel</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hmset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L561">at line 561</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool hmset(string $key, array $key_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hMset">
|
|
Redis::hMset</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L566">at line 566</a></div>
|
|
<code class="method-signature language-php">array|bool hscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hscan">
|
|
Redis::hscan</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expiremember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L571">at line 571</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false expiremember(string $key, string $field, int $ttl, string|null $unit = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$ttl</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$unit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_expiremember">
|
|
Redis::expiremember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_expirememberat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L576">at line 576</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false expirememberat(string $key, string $field, int $timestamp)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_expirememberat">
|
|
Redis::expirememberat</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hrandfield">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L581">at line 581</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|array hrandfield(string $key, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/hrandfield">https://redis.io/commands/hrandfield</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L586">at line 586</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false hset(string $key, string $member, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hSet">
|
|
Redis::hSet</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hsetnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L591">at line 591</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool hsetnx(string $key, string $member, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hSetNx">
|
|
Redis::hSetNx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hstrlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L596">at line 596</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false hstrlen(string $key, string $field)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$field</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hStrLen">
|
|
Redis::hStrLen</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hexpire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L601">at line 601</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hexpire(string $key, int $ttl, array $fields, string|null $mode = NULL)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$ttl</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hexpire">
|
|
Redis::hexpire</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpexpire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L607">at line 607</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hpexpire(string $key, int $ttl, array $fields, string|null $mode = NULL)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$ttl</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hpexpire">
|
|
Redis::hpexpire</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hexpireat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L613">at line 613</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hexpireat(string $key, int $time, array $fields, string|null $mode = NULL)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$time</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hexpireat">
|
|
Redis::hexpireat</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpexpireat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L619">at line 619</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hpexpireat(string $key, int $mstime, array $fields, string|null $mode = NULL)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$mstime</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hpexpireat">
|
|
Redis::hpexpireat</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_httl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L625">at line 625</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false httl(string $key, array $fields)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_httl">
|
|
Redis::httl</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L630">at line 630</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hpttl(string $key, array $fields)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hpttl">
|
|
Redis::hpttl</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L635">at line 635</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hexpiretime(string $key, array $fields)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hexpiretime">
|
|
Redis::hexpiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpexpiretime">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L640">at line 640</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hpexpiretime(string $key, array $fields)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hpexpiretime">
|
|
Redis::hpexpiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hpersist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L645">at line 645</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hpersist(string $key, array $fields)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$fields</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hpexpiretime">
|
|
Redis::hpexpiretime</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_hvals">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L650">at line 650</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false hvals(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_hVals">
|
|
Redis::hVals</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_incr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L655">at line 655</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false incr(string $key, int $by = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$by</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_incr">
|
|
Redis::incr</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_incrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L660">at line 660</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false incrby(string $key, int $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_incrBy">
|
|
Redis::incrBy</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_incrbyfloat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L665">at line 665</a></div>
|
|
<code class="method-signature language-php">RedisCluster|float|false incrbyfloat(string $key, float $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_incrByFloat">
|
|
Redis::incrByFloat</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_info">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L683">at line 683</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false info(string|array $key_or_address, string ...$sections)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Retrieve information about the connected redis-server. If no arguments are passed to
|
|
this function, redis will return every info field. Alternatively you may pass a specific
|
|
section you want returned (e.g. 'server', or 'memory') to receive only information pertaining
|
|
to that section.</p></p> <p><p>If connected to Redis server >= 7.0.0 you may pass multiple optional sections.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td><p>Either a key name or array with host and port indicating
|
|
which cluster node we want to send the command to.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$sections</td>
|
|
<td><p>Optional section(s) you wish Redis server to return.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/info/">https://redis.io/commands/info/</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_keys">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L688">at line 688</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false keys(string $pattern)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_keys">
|
|
Redis::keys</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lastsave">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L693">at line 693</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false lastsave(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lastSave">
|
|
Redis::lastSave</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L698">at line 698</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|bool lget(string $key, int $index)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
\Redis::lget()
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lindex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L703">at line 703</a></div>
|
|
<code class="method-signature language-php">mixed lindex(string $key, int $index)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lindex">
|
|
Redis::lindex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_linsert">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L708">at line 708</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false linsert(string $key, string $pos, mixed $pivot, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pos</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$pivot</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lInsert">
|
|
Redis::lInsert</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_llen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L713">at line 713</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|bool llen(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lLen">
|
|
Redis::lLen</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L718">at line 718</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|string|array lpop(string $key, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lPop">
|
|
Redis::lPop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lpos">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L723">at line 723</a></div>
|
|
<code class="method-signature language-php">RedisCluster|null|bool|int|array lpos(string $key, mixed $value, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|null|bool|int|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lPos">
|
|
Redis::lPos</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L728">at line 728</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|bool lpush(string $key, mixed $value, mixed ...$other_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lPush">
|
|
Redis::lPush</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lpushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L733">at line 733</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|bool lpushx(string $key, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lPushx">
|
|
Redis::lPushx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L738">at line 738</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false lrange(string $key, int $start, int $end)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lrange">
|
|
Redis::lrange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L743">at line 743</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|bool lrem(string $key, mixed $value, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lrem">
|
|
Redis::lrem</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_lset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L748">at line 748</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool lset(string $key, int $index, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$index</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_lSet">
|
|
Redis::lSet</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ltrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L753">at line 753</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool ltrim(string $key, int $start, int $end)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_ltrim">
|
|
Redis::ltrim</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_mget">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L758">at line 758</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false mget(array $keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_mget">
|
|
Redis::mget</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_mset">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L763">at line 763</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool mset(array $key_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_mset">
|
|
Redis::mset</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_msetnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L768">at line 768</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false msetnx(array $key_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_msetnx">
|
|
Redis::msetnx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_msetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L773">at line 773</a></div>
|
|
<code class="method-signature language-php">Redis|int|false msetex(array $key_vals, int|float|array|null $expiry = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$key_vals</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|float|array|null</td>
|
|
<td>$expiry</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>Redis|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_msetex">
|
|
Redis::msetex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_multi">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L778">at line 778</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool multi(int $value = Redis::MULTI)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_object">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L783">at line 783</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|string|false object(string $subcommand, string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$subcommand</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_object">
|
|
Redis::object</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_persist">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L788">at line 788</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool persist(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_persist">
|
|
Redis::persist</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pexpire">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L793">at line 793</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool pexpire(string $key, int $timeout, string|null $mode = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pexpire">
|
|
Redis::pexpire</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pexpireat">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L798">at line 798</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool pexpireat(string $key, int $timestamp, string|null $mode = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timestamp</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pexpireAt">
|
|
Redis::pexpireAt</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pfadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L804">at line 804</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool pfadd(string $key, array $elements)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pfadd">
|
|
Redis::pfadd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pfcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L809">at line 809</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false pfcount(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pfcount">
|
|
Redis::pfcount</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pfmerge">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L814">at line 814</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool pfmerge(string $key, array $keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pfmerge">
|
|
Redis::pfmerge</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ping">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L829">at line 829</a></div>
|
|
<code class="method-signature language-php">mixed ping(string|array $key_or_address, string|null $message = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>PING an instance in the redis cluster.</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td><p>Either a key name or a two element array with host and
|
|
address, informing RedisCluster which node to ping.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$message</td>
|
|
<td><p>An optional message to send.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td><p>This method always returns <code>true</code> if no message was sent, and the message itself
|
|
if one was.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_ping">
|
|
Redis::ping</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_psetex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L834">at line 834</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool psetex(string $key, int $timeout, string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_psetex">
|
|
Redis::psetex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_psubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L839">at line 839</a></div>
|
|
<code class="method-signature language-php">void psubscribe(array $patterns, callable $callback)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$patterns</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$callback</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_psubscribe">
|
|
Redis::psubscribe</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L844">at line 844</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false pttl(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pttl">
|
|
Redis::pttl</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_publish">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L849">at line 849</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|int publish(string $channel, string $message)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$channel</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$message</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_publish">
|
|
Redis::publish</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_pubsub">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L854">at line 854</a></div>
|
|
<code class="method-signature language-php">mixed pubsub(string|array $key_or_address, string ...$values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_pubsub">
|
|
Redis::pubsub</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_punsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L859">at line 859</a></div>
|
|
<code class="method-signature language-php">bool|array punsubscribe(string $pattern, string ...$other_patterns)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_patterns</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_punsubscribe">
|
|
Redis::punsubscribe</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_randomkey">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L864">at line 864</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|string randomkey(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_randomKey">
|
|
Redis::randomKey</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rawcommand">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L869">at line 869</a></div>
|
|
<code class="method-signature language-php">mixed rawcommand(string|array $key_or_address, string $command, mixed ...$args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$command</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rawcommand">
|
|
Redis::rawcommand</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rename">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L874">at line 874</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool rename(string $key_src, string $key_dst)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key_src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key_dst</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rename">
|
|
Redis::rename</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_renamenx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L879">at line 879</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool renamenx(string $key, string $newkey)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$newkey</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_renameNx">
|
|
Redis::renameNx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_restore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L884">at line 884</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool restore(string $key, int $timeout, string $value, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$timeout</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_restore">
|
|
Redis::restore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_role">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L889">at line 889</a></div>
|
|
<code class="method-signature language-php">mixed role(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_role">
|
|
Redis::role</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rpop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L894">at line 894</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|string|array rpop(string $key, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rPop">
|
|
Redis::rPop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rpoplpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L899">at line 899</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|string rpoplpush(string $src, string $dst)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rpoplpush">
|
|
Redis::rpoplpush</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rpush">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L904">at line 904</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false rpush(string $key, mixed ...$elements)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$elements</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rPush">
|
|
Redis::rPush</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_rpushx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L909">at line 909</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|int rpushx(string $key, string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_rPushx">
|
|
Redis::rPushx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L914">at line 914</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false sadd(string $key, mixed $value, mixed ...$other_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sAdd">
|
|
Redis::sAdd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_saddarray">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L919">at line 919</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|int saddarray(string $key, array $values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|int</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sAddArray">
|
|
Redis::sAddArray</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_save">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L924">at line 924</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool save(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_save">
|
|
Redis::save</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_scan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L929">at line 929</a></div>
|
|
<code class="method-signature language-php">bool|array scan(null|int|string $iterator, string|array $key_or_address, string|null $pattern = null, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_scan">
|
|
Redis::scan</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_scard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L934">at line 934</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false scard(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_scard">
|
|
Redis::scard</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_script">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L939">at line 939</a></div>
|
|
<code class="method-signature language-php">mixed script(string|array $key_or_address, mixed ...$args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_script">
|
|
Redis::script</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sdiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L944">at line 944</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false sdiff(string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sDiff">
|
|
Redis::sDiff</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sdiffstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L949">at line 949</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false sdiffstore(string $dst, string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sDiffStore">
|
|
Redis::sDiffStore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_set">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L954">at line 954</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|bool set(string $key, mixed $value, mixed $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/set">https://redis.io/commands/set</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setbit">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L959">at line 959</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false setbit(string $key, int $offset, bool $onoff)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$onoff</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_setBit">
|
|
Redis::setBit</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L964">at line 964</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool setex(string $key, int $expire, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$expire</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_setex">
|
|
Redis::setex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setnx">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L969">at line 969</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool setnx(string $key, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_setnx">
|
|
Redis::setnx</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setoption">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L974">at line 974</a></div>
|
|
<code class="method-signature language-php">bool setoption(int $option, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$option</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_setOption">
|
|
Redis::setOption</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_setrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L979">at line 979</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false setrange(string $key, int $offset, string $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_setRange">
|
|
Redis::setRange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sinter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L984">at line 984</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false sinter(array|string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sInter">
|
|
Redis::sInter</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L989">at line 989</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false sintercard(array $keys, int $limit = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sintercard">
|
|
Redis::sintercard</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sinterstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L994">at line 994</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false sinterstore(array|string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sInterStore">
|
|
Redis::sInterStore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L999">at line 999</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool sismember(string $key, mixed $value)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sismember">
|
|
Redis::sismember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_smismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1004">at line 1004</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false smismember(string $key, string $member, string ...$other_members)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sMisMember">
|
|
Redis::sMisMember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_slowlog">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1009">at line 1009</a></div>
|
|
<code class="method-signature language-php">mixed slowlog(string|array $key_or_address, mixed ...$args)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$args</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_slowlog">
|
|
Redis::slowlog</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_smembers">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1014">at line 1014</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false smembers(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sMembers">
|
|
Redis::sMembers</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_smove">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1019">at line 1019</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool smove(string $src, string $dst, string $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$src</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sMove">
|
|
Redis::sMove</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sort">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1024">at line 1024</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|bool|int|string sort(string $key, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|bool|int|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sort">
|
|
Redis::sort</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sort_ro">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1029">at line 1029</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|bool|int|string sort_ro(string $key, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|bool|int|string</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sort_ro">
|
|
Redis::sort_ro</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_spop">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1034">at line 1034</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|array|false spop(string $key, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sPop">
|
|
Redis::sPop</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_srandmember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1039">at line 1039</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|array|false srandmember(string $key, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sRandMember">
|
|
Redis::sRandMember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_srem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1044">at line 1044</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false srem(string $key, mixed $value, mixed ...$other_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_srem">
|
|
Redis::srem</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1049">at line 1049</a></div>
|
|
<code class="method-signature language-php">array|false sscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sscan">
|
|
Redis::sscan</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_strlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1054">at line 1054</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false strlen(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_strlen">
|
|
Redis::strlen</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_subscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1059">at line 1059</a></div>
|
|
<code class="method-signature language-php">void subscribe(array $channels, callable $cb)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>callable</td>
|
|
<td>$cb</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>void</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_subscribe">
|
|
Redis::subscribe</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sunion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1064">at line 1064</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array sunion(string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sUnion">
|
|
Redis::sUnion</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_sunionstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1069">at line 1069</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false sunionstore(string $dst, string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_sUnionStore">
|
|
Redis::sUnionStore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_time">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1074">at line 1074</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array time(string|array $key_or_address)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string|array</td>
|
|
<td>$key_or_address</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_time">
|
|
Redis::time</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_ttl">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1079">at line 1079</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false ttl(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_ttl">
|
|
Redis::ttl</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_type">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1084">at line 1084</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false type(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_type">
|
|
Redis::type</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_unsubscribe">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1089">at line 1089</a></div>
|
|
<code class="method-signature language-php">bool|array unsubscribe(array $channels)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$channels</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_unsubscribe">
|
|
Redis::unsubscribe</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_unlink">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1094">at line 1094</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false unlink(array|string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_unlink">
|
|
Redis::unlink</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_unwatch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1099">at line 1099</a></div>
|
|
<code class="method-signature language-php">bool unwatch()</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_unwatch">
|
|
Redis::unwatch</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_watch">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1104">at line 1104</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool watch(string $key, string ...$other_keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_watch">
|
|
Redis::watch</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1109">at line 1109</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false vadd(string $key, array $values, mixed $element, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$element</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vadd">
|
|
Redis::vadd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vsim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1114">at line 1114</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false vsim(string $key, mixed $member, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vsim">
|
|
Redis::vsim</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vcard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1119">at line 1119</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false vcard(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vcard">
|
|
Redis::vcard</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vdim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1124">at line 1124</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false vdim(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vdim">
|
|
Redis::vdim</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1129">at line 1129</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false vinfo(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vinfo">
|
|
Redis::vinfo</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vismember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1139">at line 1139</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool vismember(string $key, mixed $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Check if an element is a member of a vectorset</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td><p>The vector set to query.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td><p>The member to check for.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool</td>
|
|
<td><p>true if the member exists, false if it does not.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vemb">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1144">at line 1144</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false vemb(string $key, mixed $member, bool $raw = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$raw</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vemb">
|
|
Redis::vemb</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vrandmember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1149">at line 1149</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|string|false vrandmember(string $key, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vrandmember">
|
|
Redis::vrandmember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1161">at line 1161</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false vrange(string $key, string $min, string $max, int $count = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p><p>Retreive a lexographical range of elements from a vector set</p></p>
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td><p>The vector set to query.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td><p>The minimum element to return.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td><p>The maximum element to return.</p></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td><p>An optional maximum number of elements to return.</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td><p>An array of elements in the specified range.`</p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1167">at line 1167</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false vrem(string $key, mixed $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vrem">
|
|
Redis::vrem</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vlinks">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1172">at line 1172</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false vlinks(string $key, mixed $member, bool $withscores = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$withscores</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vlinks">
|
|
Redis::vlinks</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vgetattr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1177">at line 1177</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|string|false vgetattr(string $key, mixed $member, bool $decode = true)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$decode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vgetattr">
|
|
Redis::vgetattr</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_vsetattr">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1182">at line 1182</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false vsetattr(string $key, mixed $member, array|string $attributes)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|string</td>
|
|
<td>$attributes</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_vsetattr">
|
|
Redis::vsetattr</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_gcra">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1187">at line 1187</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false gcra(string $key, int $maxBurst, int $requestsPerPeriod, int $period, int $tokens = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$maxBurst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$requestsPerPeriod</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$period</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$tokens</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_gcra">
|
|
Redis::gcra</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xack">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1194">at line 1194</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false xack(string $key, string $group, array $ids)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xack">
|
|
Redis::xack</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1199">at line 1199</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false xadd(string $key, string $id, array $values, int $maxlen = 0, bool $approx = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$id</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$values</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$maxlen</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$approx</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xadd">
|
|
Redis::xadd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1204">at line 1204</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|array|false xclaim(string $key, string $group, string $consumer, int $min_iddle, array $ids, array $options)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$min_iddle</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xclaim">
|
|
Redis::xclaim</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xdel">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1209">at line 1209</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false xdel(string $key, array $ids)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xdel">
|
|
Redis::xdel</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xdelex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1214">at line 1214</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false xdelex(string $key, array $ids, string|null $mode = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$ids</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$mode</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xdelex">
|
|
Redis::xdelex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xgroup">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1219">at line 1219</a></div>
|
|
<code class="method-signature language-php">mixed xgroup(string $operation, string|null $key = null, string|null $group = null, string|null $id_or_consumer = null, bool $mkstream = false, int $entries_read = -2)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$id_or_consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$mkstream</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$entries_read</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xgroup">
|
|
Redis::xgroup</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xautoclaim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1225">at line 1225</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$min_idle</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$justid</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xautoclaim">
|
|
Redis::xautoclaim</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xinfo">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1230">at line 1230</a></div>
|
|
<code class="method-signature language-php">mixed xinfo(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$operation</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$arg1</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$arg2</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xinfo">
|
|
Redis::xinfo</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xlen">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1235">at line 1235</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false xlen(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xlen">
|
|
Redis::xlen</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xpending">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1240">at line 1240</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false xpending(string $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xpending">
|
|
Redis::xpending</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1245">at line 1245</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array xrange(string $key, string $start, string $end, int $count = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xrange">
|
|
Redis::xrange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xread">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1250">at line 1250</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array xread(array $streams, int $count = -1, int $block = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$streams</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$block</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xread">
|
|
Redis::xread</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xreadgroup">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1255">at line 1255</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array xreadgroup(string $group, string $consumer, array $streams, int $count = 1, int $block = 1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$group</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$consumer</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$streams</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$block</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xreadgroup">
|
|
Redis::xreadgroup</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xrevrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1260">at line 1260</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array xrevrange(string $key, string $start, string $end, int $count = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xrevrange">
|
|
Redis::xrevrange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_xtrim">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1265">at line 1265</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false xtrim(string $key, int $maxlen, bool $approx = false, bool $minid = false, int $limit = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$maxlen</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$approx</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>bool</td>
|
|
<td>$minid</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_xtrim">
|
|
Redis::xtrim</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zadd">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1270">at line 1270</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|float|false zadd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|float</td>
|
|
<td>$score_or_options</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$more_scores_and_mems</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zAdd">
|
|
Redis::zAdd</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zcard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1275">at line 1275</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zcard(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zCard">
|
|
Redis::zCard</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1280">at line 1280</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zcount(string $key, string $start, string $end)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zCount">
|
|
Redis::zCount</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zincrby">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1285">at line 1285</a></div>
|
|
<code class="method-signature language-php">RedisCluster|float|false zincrby(string $key, float $value, string $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>float</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zIncrBy">
|
|
Redis::zIncrBy</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zinterstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1290">at line 1290</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zinterstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$aggregate</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zinterstore">
|
|
Redis::zinterstore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zintercard">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1295">at line 1295</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zintercard(array $keys, int $limit = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$limit</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zintercard">
|
|
Redis::zintercard</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zlexcount">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1300">at line 1300</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zlexcount(string $key, string $min, string $max)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zLexCount">
|
|
Redis::zLexCount</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zpopmax">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1305">at line 1305</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array zpopmax(string $key, int|null $value = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zPopMax">
|
|
Redis::zPopMax</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zpopmin">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1310">at line 1310</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array zpopmin(string $key, int|null $value = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int|null</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zPopMin">
|
|
Redis::zPopMin</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1315">at line 1315</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|bool zrange(string $key, mixed $start, mixed $end, array|bool|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|bool|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|bool</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRange">
|
|
Redis::zRange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrangestore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1320">at line 1320</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zrangestore(string $dstkey, string $srckey, int $start, int $end, array|bool|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dstkey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$srckey</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|bool|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zrangestore">
|
|
Redis::zrangestore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrandmember">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1326">at line 1326</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|array zrandmember(string $key, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/zrandmember">https://redis.io/commands/zrandmember</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrangebylex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1331">at line 1331</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false zrangebylex(string $key, string $min, string $max, int $offset = -1, int $count = -1)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$offset</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRangeByLex">
|
|
Redis::zRangeByLex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrangebyscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1336">at line 1336</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false zrangebyscore(string $key, string $start, string $end, array $options = [])</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$start</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$end</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRangeByScore">
|
|
Redis::zRangeByScore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1341">at line 1341</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zrank(string $key, mixed $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRank">
|
|
Redis::zRank</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrem">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1346">at line 1346</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zrem(string $key, string $value, string ...$other_values)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$value</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>...$other_values</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRem">
|
|
Redis::zRem</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zremrangebylex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1351">at line 1351</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zremrangebylex(string $key, string $min, string $max)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRemRangeByLex">
|
|
Redis::zRemRangeByLex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zremrangebyrank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1356">at line 1356</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zremrangebyrank(string $key, string $min, string $max)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRemRangeByRank">
|
|
Redis::zRemRangeByRank</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zremrangebyscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1361">at line 1361</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zremrangebyscore(string $key, string $min, string $max)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRemRangeByScore">
|
|
Redis::zRemRangeByScore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrevrange">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1366">at line 1366</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array zrevrange(string $key, string $min, string $max, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRevRange">
|
|
Redis::zRevRange</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrevrangebylex">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1371">at line 1371</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array zrevrangebylex(string $key, string $min, string $max, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRevRangeByLex">
|
|
Redis::zRevRangeByLex</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrevrangebyscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1376">at line 1376</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array zrevrangebyscore(string $key, string $min, string $max, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$min</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$max</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRevRangeByScore">
|
|
Redis::zRevRangeByScore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zrevrank">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1381">at line 1381</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zrevrank(string $key, mixed $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zRevRank">
|
|
Redis::zRevRank</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zscan">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1386">at line 1386</a></div>
|
|
<code class="method-signature language-php">RedisCluster|bool|array zscan(string $key, null|int|string $iterator, string|null $pattern = null, int $count = 0)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>null|int|string</td>
|
|
<td>$iterator</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$pattern</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>int</td>
|
|
<td>$count</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|bool|array</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zscan">
|
|
Redis::zscan</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1391">at line 1391</a></div>
|
|
<code class="method-signature language-php">RedisCluster|float|false zscore(string $key, mixed $member)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|float|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zScore">
|
|
Redis::zScore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zmscore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1396">at line 1396</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false zmscore(string $key, mixed $member, mixed ...$other_members)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>$member</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mixed</td>
|
|
<td>...$other_members</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/zmscore">https://redis.io/commands/zmscore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zunionstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1401">at line 1401</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zunionstore(string $dst, array $keys, array|null $weights = null, string|null $aggregate = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>string|null</td>
|
|
<td>$aggregate</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="Redis.html#method_zunionstore">
|
|
Redis::zunionstore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zinter">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1406">at line 1406</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false zinter(array $keys, array|null $weights = null, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/zinter">https://redis.io/commands/zinter</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zdiffstore">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1411">at line 1411</a></div>
|
|
<code class="method-signature language-php">RedisCluster|int|false zdiffstore(string $dst, array $keys)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$dst</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|int|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/zdiffstore">https://redis.io/commands/zdiffstore</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zunion">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1416">at line 1416</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false zunion(array $keys, array|null $weights = null, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$weights</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/zunion">https://redis.io/commands/zunion</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_zdiff">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1421">at line 1421</a></div>
|
|
<code class="method-signature language-php">RedisCluster|array|false zdiff(array $keys, array|null $options = null)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>array</td>
|
|
<td>$keys</td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td>array|null</td>
|
|
<td>$options</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|array|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/zdiff">https://redis.io/commands/zdiff</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="method-item">
|
|
|
|
<h3 id="method_digest">
|
|
<div class="location"><a href="https://github.com/phpredis/phpredis/blob/develop/redis_cluster.stub.php#L1426">at line 1426</a></div>
|
|
<code class="method-signature language-php">RedisCluster|string|false digest(string $key)</code>
|
|
</h3>
|
|
<div class="details">
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
<p class="no-description">No description</p>
|
|
|
|
</div>
|
|
<div class="tags">
|
|
<h4>Parameters</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>string</td>
|
|
<td>$key</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h4 class="return-value-header">Return Value</h4>
|
|
|
|
<div class="return-value-content">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>RedisCluster|string|false</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
<h4>See also</h4>
|
|
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td>
|
|
<a href="https://redis.io/commands/digest">https://redis.io/commands/digest</a>
|
|
</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div><div id="footer">
|
|
Generated by <a href="https://github.com/code-lts/doctum">Doctum, a API Documentation generator and fork of Sami</a>.</div></div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|