Skip to content

Commit

Permalink
docs(cluster) document 'lock_timeout' and 'silent'
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Oct 18, 2016
1 parent 2bd3d66 commit e99ece3
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/examples/authentication.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2>authentication.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/batch.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h2>batch.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/intro.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2>intro.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/pagination.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h2>pagination.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/ssl.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h2>ssl.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2>Examples</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/README.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ <h2>License</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/cassandra.html
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
11 changes: 10 additions & 1 deletion docs/modules/resty.cassandra.cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ <h3>Fields:</h3>
Maximum waiting time allowed when executing
DDL queries before timing out, in ms.
(<code>number</code>, default: <code>10000</code>)
</li>
<li><span class="parameter">lock_timeout</span>
Timeout value of lua-resty-lock used for the <a href="../modules/resty.cassandra.cluster.html#_Cluster:refresh">refresh</a>
and prepared statement mutexes, in seconds.
(<code>number</code>, optional)
</li>
<li><span class="parameter">silent</span>
Disables all logging (of any log_level) from this cluster.
(<code>boolean</code>, default: <code>false</code>)
</li>
<li><span class="parameter">lb_policy</span>
A load balancing policy created from one of the modules
Expand Down Expand Up @@ -499,7 +508,7 @@ <h3>Fields:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.cassandra.policies.lb.dc_rr.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.cassandra.policies.lb.rr.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.cassandra.policies.retry.simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.5</a></i>
<i style="float:right;">Last updated 2016-10-06 18:45:55 </i>
<i style="float:right;">Last updated 2016-10-17 20:28:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
5 changes: 5 additions & 0 deletions lib/resty/cassandra/cluster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ _Cluster.__index = _Cluster
-- @field max_schema_consensus_wait Maximum waiting time allowed when executing
-- DDL queries before timing out, in ms.
-- (`number`, default: `10000`)
-- @field lock_timeout Timeout value of lua-resty-lock used for the `refresh`
-- and prepared statement mutexes, in seconds.
-- (`number`, optional)
-- @field silent Disables all logging (of any log_level) from this cluster.
-- (`boolean`, default: `false`)
-- @field lb_policy A load balancing policy created from one of the modules
-- under `resty.cassandra.policies.lb.*`.
-- (`lb policy`, default: `lb.rr` round robin)
Expand Down

0 comments on commit e99ece3

Please sign in to comment.