kvclient-js
Version:
Oracle NoSQL Database node.js Client API.
383 lines (139 loc) • 7.13 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: Durability</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: Durability</h1>
<section>
<header>
<h2>
Durability
</h2>
</header>
<article>
<div class="container-overview">
<dt>
<h4 class="name" id="Durability"><span class="type-signature"></span>new Durability<span class="signature">(masterSync, replicaAck, replicaSync)</span><span class="type-signature"> → {<a href="Durability.html">Durability</a>}</span></h4>
</dt>
<dd>
<div class="description">
Defines the durability characteristics associated with a standalone write (put or update) operation, or in the case
of KVStore.execute with a set of operations performed in a single transaction.
The overall durability is a function of the SyncPolicy and ReplicaAckPolicy in effect for
the Master, and the Durability.SyncPolicy in effect for each Replica.
</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>masterSync</code></td>
<td class="type">
<span class="param-type"><a href="global.html#SyncPolicy">SyncPolicy</a></span>
</td>
<td class="description last">The transaction synchronization policy to be used on the Master when
committing a transaction.</td>
</tr>
<tr>
<td class="name"><code>replicaAck</code></td>
<td class="type">
<span class="param-type"><a href="global.html#ReplicaAckPolicy">ReplicaAckPolicy</a></span>
</td>
<td class="description last">The transaction synchronization policy to be used by the replica as it replays
a transaction that needs an acknowledgment.</td>
</tr>
<tr>
<td class="name"><code>replicaSync</code></td>
<td class="type">
<span class="param-type"><a href="global.html#SyncPolicy">SyncPolicy</a></span>
</td>
<td class="description last">The replica acknowledgment policy used by the master when committing
changes to a replicated environment.</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>masterSync</code></td>
<td class="type">
<span class="param-type"><a href="global.html#SyncPolicy">SyncPolicy</a></span>
</td>
<td class="description last">The transaction synchronization policy to be used on the Master when
committing a transaction.</td>
</tr>
<tr>
<td class="name"><code>replicaAck</code></td>
<td class="type">
<span class="param-type"><a href="global.html#ReplicaAckPolicy">ReplicaAckPolicy</a></span>
</td>
<td class="description last">The replica acknowledgment policy used by the master when committing
changes to a replicated environment.</td>
</tr>
<tr>
<td class="name"><code>replicaSync</code></td>
<td class="type">
<span class="param-type"><a href="global.html#SyncPolicy">SyncPolicy</a></span>
</td>
<td class="description last">The transaction synchronization policy to be used by the replica as it replays
a transaction that needs an acknowledgment.</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#line169">line 169</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type"><a href="Durability.html">Durability</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>