|
| safe_late_task (THandler &h) |
|
| operator task_ptr () const |
|
virtual bool | cancel (bool wait_until_finished, bool *finished=nullptr) override |
|
void | bind_and_enqueue (std::function< std::function< void()>(THandler &)> binder, int delay_milliseconds=0) |
|
Public Member Functions inherited from dsn::safe_task_handle |
void | set_task_info (dsn_task_t t) |
|
dsn_task_t | native_handle () const |
|
void | set_delay (int delay_ms) |
|
void | wait () const |
|
bool | wait (int timeout_millieseconds) const |
|
::dsn::error_code | error () const |
|
size_t | io_size () const |
|
void | enqueue (std::chrono::milliseconds delay=std::chrono::milliseconds(0)) const |
|
void | enqueue_aio (error_code err, size_t size) const |
|
dsn_message_t | response () |
|
void | enqueue_rpc_response (error_code err, dsn_message_t resp) const |
|
|
static void | on_cancel (void *task) |
|
static void | exec (void *task) |
|
The documentation for this class was generated from the following file: