aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/index.html b/docs/index.html
index 6757981..8bb181f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -453,6 +453,20 @@
453 </tr> 453 </tr>
454</table> 454</table>
455 455
456<p id="collectgarbage">
457 A full GC cycle can be triggered on all keeper states with <tt>lanes.collectgarbage()</tt>. This can force the collection of stale storage data for a collected Linda.
458</p>
459
460<p>
461 <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%">
462 <tr>
463 <td>
464 <pre> lanes.collectgarbage()</pre>
465 </td>
466 </tr>
467 </table>
468</p>
469
456<p id="finally"> 470<p id="finally">
457 It is also possible to install a function that will be called when Lanes is shutdown (that is, when the first state that required Lanes is closed). 471 It is also possible to install a function that will be called when Lanes is shutdown (that is, when the first state that required Lanes is closed).
458</p> 472</p>
@@ -1395,6 +1409,15 @@
1395</p> 1409</p>
1396 1410
1397<table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre> 1411<table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre>
1412 linda_h:collectgarbage()
1413</pre></td></tr></table>
1414
1415<p>
1416 Forces a full garbage collect cycle inside the Keeper state assigned to the Linda (same as <tt>lua_gc(L, LUA_GCCOLLECT)</tt>).<br />
1417 Can be useful to clean stale storage after some keys are cleaned.
1418</p>
1419
1420<table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre>
1398 [val] = linda_h:count([slot[,...]]) 1421 [val] = linda_h:count([slot[,...]])
1399</pre></td></tr></table> 1422</pre></td></tr></table>
1400 1423