From 18c708eb8fbe995efe4b06b93421db3d25e22636 Mon Sep 17 00:00:00 2001
From: Benoit Germain
+ A full GC cycle can be triggered on all keeper states with lanes.collectgarbage(). This can force the collection of stale storage data for a collected Linda.
+
+
+
+
+
+
+
+ lanes.collectgarbage()
+
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).
@@ -1394,6 +1408,15 @@ Trying to send or receive data through a cancelled linda does nothing and returns lanes.cancel_error. ++ linda_h:collectgarbage() + |
+ Forces a full garbage collect cycle inside the Keeper state assigned to the Linda (same as lua_gc(L, LUA_GCCOLLECT)).
+ Can be useful to clean stale storage after some keys are cleaned.
+
[val] = linda_h:count([slot[,...]]) |