Commit 4a2668a8 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add locked() and uuid() methods.

parent 2978954d
......@@ -193,6 +193,7 @@ sub mysystem($)
# Accessors
#
sub lease_id($) {return $_[0]->{'DBROW'}->{'lease_id'}; }
sub uuid($) {return $_[0]->{'DBROW'}->{'uuid'}; }
sub pid($) {return $_[0]->{'DBROW'}->{'pid'}; }
sub idx($) {return $_[0]->{'DBROW'}->{'lease_idx'}; }
sub lease_idx($) {return $_[0]->idx(); }
......@@ -207,6 +208,7 @@ sub state($) {return $_[0]->{'DBROW'}->{'state'}; }
sub statestamp($) {return str2time($_[0]->{'DBROW'}->{'statestamp'}); }
sub renewals($) {return $_[0]->{'DBROW'}->{'renewals'}; }
sub locktime($) {return str2time($_[0]->{'DBROW'}->{'locked'}); }
sub locked($) {return $_[0]->{'DBROW'}->{'locked'}; }
sub lockpid($) {return $_[0]->{'DBROW'}->{'locker_pid'}; }
#
......
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