Expand description
Timer implementation for the Sentinel.
It supports a cached timer and a real-time timer from unix_timestamp_nanos
.
Re-exports§
pub use ticker::*;
Modules§
Functions§
- curr_
time_ millis - curr_
time_ nanos - format_
date - The format is corresponding to
crate::log::metric::METRIC_FILE_PATTERN
- format_
time_ millis - format_
time_ nanos_ curr - milli2nano
- sleep_
for_ ms - sleep_
for_ ns - unix_
time_ unit_ offset