Class ShutdownDecision
Defined in File shutdown.h
Class Documentation
-
class ShutdownDecision
Declaration:
finalPrivate decision capability supplied only to the installed host policy.
Stale decisions and responses after force/closure return false.
Public Functions
-
ShutdownDecision() = default
-
bool accept() const
Declaration:
[[nodiscard]]Stage acceptance for the matching active request/policy generation, from any thread.
True means the response was staged, not that shutdown already committed. Empty/stale/forced/closed responses return false; the public request payload alone cannot construct this authority.
-
bool cancel() const
Declaration:
[[nodiscard]]Stage HostRejected for this matching active request.
False means stale/empty/forced/closed or already decided. Platform processing settles the ticket; no caller waits for owner work here.
-
inline std::uint64_t request_id() const noexcept
Declaration:
[[nodiscard]]
-
ShutdownDecision() = default