blob: 556d3da0bdb3ca61d8f31d3d21bd95d031711376 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "itimer.h"
namespace mbus {
/**
* This is the implementation of the {@link Timer} interface that all time-based
* constructs in message bus use by default. The only reason for replacing this
* is for writing unit tests.
*/
class SteadyTimer : public ITimer {
public:
//TODO Return chrono::duration
uint64_t getMilliTime() const override;
};
} // namespace mbus
|