#include <alarm_impl.h>
◆ Alarm() [1/4]
grpc_impl::Alarm::Alarm |
( |
| ) |
|
Create an unset completion queue alarm.
◆ ~Alarm()
grpc_impl::Alarm::~Alarm |
( |
| ) |
|
Destroy the given completion queue alarm, cancelling it in the process.
◆ Alarm() [2/4]
DEPRECATED: Create and set a completion queue alarm instance associated to cq.
This form is deprecated because it is inherently racy.
◆ Alarm() [3/4]
grpc_impl::Alarm::Alarm |
( |
const Alarm & |
| ) |
|
|
delete |
◆ Alarm() [4/4]
grpc_impl::Alarm::Alarm |
( |
Alarm && |
rhs | ) |
|
|
inline |
◆ Cancel()
void grpc_impl::Alarm::Cancel |
( |
| ) |
|
Cancel a completion queue alarm.
Calling this function over an alarm that has already fired has no effect.
◆ experimental()
NOTE: The function experimental() is not stable public API.
It is a view to the experimental components of this class. It may be changed or removed at any time.
◆ operator=() [1/2]
Alarm& grpc_impl::Alarm::operator= |
( |
Alarm && |
rhs | ) |
|
|
inline |
◆ operator=() [2/2]
Alarm& grpc_impl::Alarm::operator= |
( |
const Alarm & |
| ) |
|
|
delete |
◆ Set()
Trigger an alarm instance on completion queue cq at the specified time.
Once the alarm expires (at deadline) or it's cancelled (see Cancel), an event with tag tag will be added to cq. If the alarm expired, the event's success bit will be true, false otherwise (ie, upon cancellation).
The documentation for this class was generated from the following file: