Seastar
High performance C++ framework for concurrent servers
Classes
Timers

Detailed Description

Seastar provides timers that can be defined to run a callback at a certain time point in the future; timers are provided for lowres_clock (10ms resolution, efficient), for std::chrono::steady_clock (accurate but less efficient) and for manual_clock (for testing purposes).

Timers are optimized for cancellation; that is, adding a timer and cancelling it is very efficient. This means that attaching a timer per object for a timeout that rarely happens is reasonable; one does not have to maintain a single timer and a sorted list for this use case.

Timer callbacks should be short and execute quickly. If involved processing is required, a timer can launch a continuation.

Classes

class  seastar::timer< Clock >