kvclient-js
Version:
Oracle NoSQL Database node.js Client API.
329 lines (117 loc) • 5.53 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: ReadOptions</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: ReadOptions</h1>
<section>
<header>
<h2>
ReadOptions
</h2>
</header>
<article>
<div class="container-overview">
<dt>
<h4 class="name" id="ReadOptions"><span class="type-signature"></span>new ReadOptions<span class="signature">(consistency, timeoutMs)</span><span class="type-signature"> → {<a href="ReadOptions.html">ReadOptions</a>}</span></h4>
</dt>
<dd>
<div class="description">
ReadOptions is passed to read-only store operations to specify arguments that control non-default
behavior related to consistency and operation timeouts.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>consistency</code></td>
<td class="type">
<span class="param-type">Consistency</span>
</td>
<td class="description last">the consistency to be used</td>
</tr>
<tr>
<td class="name"><code>timeoutMs</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last">the timeout to be used</td>
</tr>
</tbody>
</table>
<h5 class="subsection-title">Properties:</h5>
<dl>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>consistency</code></td>
<td class="type">
<span class="param-type">Consistency</span>
</td>
<td class="description last">Used to provide consistency guarantees for read operations</td>
</tr>
<tr>
<td class="name"><code>timeoutMs</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last">Is the upper bound on the time interval for processing the operation</td>
</tr>
</tbody>
</table>
</dl>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="Types.js.html">Types.js</a>, <a href="Types.js.html#line140">line 140</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type"><a href="ReadOptions.html">ReadOptions</a></span>
</dd>
</dl>
</dd>
</div>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="Configuration.html">Configuration</a></li><li><a href="Durability.html">Durability</a></li><li><a href="FieldRange.html">FieldRange</a></li><li><a href="Iterator.html">Iterator</a></li><li><a href="Logger.html">Logger</a></li><li><a href="Operation.html">Operation</a></li><li><a href="ProxyConfiguration.html">ProxyConfiguration</a></li><li><a href="Readable.html">Readable</a></li><li><a href="ReadOptions.html">ReadOptions</a></li><li><a href="SecurityProperties.html">SecurityProperties</a></li><li><a href="Store.html">Store</a></li><li><a href="VerifyProperties.html">VerifyProperties</a></li><li><a href="WriteOptions.html">WriteOptions</a></li></ul><h3>Global</h3><ul><li><a href="global.html#readProxyConfiguration">readProxyConfiguration</a></li><li><a href="global.html#ReplicaAckPolicy">ReplicaAckPolicy</a></li><li><a href="global.html#ReturnChoice">ReturnChoice</a></li><li><a href="global.html#SimpleConsistency">SimpleConsistency</a></li><li><a href="global.html#startProxy">startProxy</a></li><li><a href="global.html#stopProxy">stopProxy</a></li><li><a href="global.html#SyncPolicy">SyncPolicy</a></li></ul>
</nav>
<br clear="both">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-alpha10</a> on Mon Dec 01 2014 16:17:12 GMT-0600 (CST)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>