Commit f7e6843b authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Tidbits for Geni.

parent 82aa4ea9
...@@ -794,6 +794,12 @@ sub Flush($) ...@@ -794,6 +794,12 @@ sub Flush($)
delete($experiments{$self->idx()}); delete($experiments{$self->idx()});
} }
sub FlushAll($)
{
my ($class) = @_;
%experiments = ();
}
# #
# Add an input file to the template. The point of this is to reduce # Add an input file to the template. The point of this is to reduce
......
...@@ -384,6 +384,22 @@ sub Refresh($) ...@@ -384,6 +384,22 @@ sub Refresh($)
return 0; return 0;
} }
#
# Flush from our little cache, as for the expire daemon.
#
sub Flush($)
{
my ($self) = @_;
delete($nodes{$self->node_id()});
}
sub FlushAll($)
{
my ($class) = @_;
%nodes = ();
}
# #
# Stringify for output. # Stringify for output.
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment