thiell/test — Issue #160: Advanced GroupSource caching system
Author: thiell
Created: 2012-03-03 16:35:11+00:00
State: open
Labels: Lib/NodeSet

{{{NodeUtils.GroupSource}}} is already able to cache external call results, but with no time limit. This is OK for most one-shot commands like {{{clush}}} or {{{nodeset}}} but can be very annoying for long-term running apps or daemons using the ClusterShell library.

Implement:
* a method to flush cached results on demand,
* a configurable time limit for cached results, and if necessary, see if an external call or other way to check for cache info validity could be added.