24#include <seastar/core/abort_source.hh>
26#include <seastar/core/lowres_clock.hh>
27#include <seastar/core/timed_out_error.hh>
28#include <seastar/util/modules.hh>
38template<
typename Clock = lowres_clock>
44 using time_point =
typename Clock::time_point;
Definition: abort_on_expiry.hh:39
seastar::abort_source & abort_source()
Definition: abort_on_expiry.hh:56
abort_on_expiry(time_point timeout)
Definition: abort_on_expiry.hh:48
Definition: abort_source.hh:58
void request_abort_ex(std::exception_ptr ex) noexcept
Definition: abort_source.hh:187
Definition: timed_out_error.hh:34
void arm(time_point until, std::optional< duration > period={}) noexcept
Seastar API namespace.
Definition: abort_on_ebadf.hh:26