| 1618 | std::string LeaseId() const { return lease_client_->GetLeaseId(); } |
| 1619 | |
| 1620 | bool StillValidFor(SteadyClock::duration expected_time_left) const { |
| 1621 | return SteadyClock::now() + expected_time_left < break_or_expires_at_; |
| 1622 | } |
| 1623 | |
| 1624 | /// \brief Break the lease. |
| 1625 | /// |