MCPcopy Create free account
hub / github.com/apache/arrow / StillValidFor

Method StillValidFor

cpp/src/arrow/filesystem/azurefs.cc:1620–1622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 ///

Callers 1

RenameContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected