|
proxygen
|
Public Member Functions | |
| TestTimeout (EventBase *eventBase) | |
| void | timeoutExpired () noexceptoverride |
| TestTimeout () | |
| TestTimeout (HHWheelTimer *t, milliseconds timeout) | |
| void | timeoutExpired () noexceptoverride |
| void | callbackCanceled () noexceptoverride |
| TestTimeout () | |
| TestTimeout (HHWheelTimer *t, milliseconds timeout) | |
| void | timeoutExpired () noexceptoverride |
| void | callbackCanceled () noexceptoverride |
| template<typename... Args> | |
| TestTimeout (Args &&...args) | |
| TestTimeout () | |
| void | addTimeout (AsyncTimeoutSet *set) |
| template<typename... Args> | |
| void | addTimeout (AsyncTimeoutSet *set, Args &&...args) |
| void | timeoutExpired () noexceptoverride |
| void | _scheduleNext () |
Public Member Functions inherited from proxygen::AsyncTimeoutSet::Callback | |
| Callback () | |
| virtual | ~Callback () |
| void | cancelTimeout () |
| bool | isScheduled () const |
Public Member Functions inherited from folly::AsyncTimeout | |
| AsyncTimeout (TimeoutManager *timeoutManager) | |
| AsyncTimeout (EventBase *eventBase) | |
| AsyncTimeout (TimeoutManager *timeoutManager, InternalEnum internal) | |
| AsyncTimeout (EventBase *eventBase, InternalEnum internal) | |
| AsyncTimeout () | |
| virtual | ~AsyncTimeout () |
| bool | scheduleTimeout (uint32_t milliseconds) |
| bool | scheduleTimeout (TimeoutManager::timeout_type timeout) |
| void | cancelTimeout () |
| bool | isScheduled () const |
| void | attachTimeoutManager (TimeoutManager *timeoutManager, InternalEnum internal=InternalEnum::NORMAL) |
| void | attachEventBase (EventBase *eventBase, InternalEnum internal=InternalEnum::NORMAL) |
| void | detachTimeoutManager () |
| void | detachEventBase () |
| const TimeoutManager * | getTimeoutManager () |
| struct event * | getEvent () |
Static Public Member Functions | |
| static void | setTimeoutClock (MockTimeoutClock &clock) |
Static Public Member Functions inherited from folly::AsyncTimeout | |
| template<typename TCallback > | |
| static std::unique_ptr< AsyncTimeout > | make (TimeoutManager &manager, TCallback &&callback) |
| template<typename TCallback > | |
| static std::unique_ptr< AsyncTimeout > | schedule (TimeoutManager::timeout_type timeout, TimeoutManager &manager, TCallback &&callback) |
Public Attributes | |
| TimePoint | timestamp |
| std::deque< TimePoint > | timestamps |
| std::deque< TimePoint > | canceledTimestamps |
| std::function< void()> | fn |
| std::deque< milliseconds > | timestamps |
Private Attributes | |
| std::deque< AsyncTimeoutSet * > | nextSets_ |
Static Private Attributes | |
| static MockTimeoutClock * | clock_ = nullptr |
Additional Inherited Members | |
Public Types inherited from folly::AsyncTimeout | |
| typedef TimeoutManager::InternalEnum | InternalEnum |
Definition at line 893 of file EventBaseTest.cpp.
|
inlineexplicit |
Definition at line 895 of file EventBaseTest.cpp.
|
inline |
Definition at line 33 of file HHWheelTimerSlowTests.cpp.
|
inline |
Definition at line 34 of file HHWheelTimerSlowTests.cpp.
References folly::HHWheelTimer::scheduleTimeout().
|
inline |
Definition at line 30 of file HHWheelTimerTest.cpp.
|
inline |
Definition at line 31 of file HHWheelTimerTest.cpp.
References folly::HHWheelTimer::scheduleTimeout().
|
inlineexplicit |
Definition at line 40 of file AsyncTimeoutSetTest.cpp.
|
inline |
Definition at line 44 of file AsyncTimeoutSetTest.cpp.
|
inline |
Definition at line 64 of file AsyncTimeoutSetTest.cpp.
References proxygen::AsyncTimeoutSet::front(), and proxygen::AsyncTimeoutSet::scheduleTimeout().
|
inline |
Definition at line 46 of file AsyncTimeoutSetTest.cpp.
|
inline |
Definition at line 51 of file AsyncTimeoutSetTest.cpp.
|
inlineoverridenoexcept |
Definition at line 42 of file HHWheelTimerTest.cpp.
|
inlineoverridenoexcept |
Definition at line 45 of file HHWheelTimerSlowTests.cpp.
|
inlinestatic |
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout period has expired.
Implements folly::AsyncTimeout.
Definition at line 35 of file HHWheelTimerTest.cpp.
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout period has expired.
Implements folly::AsyncTimeout.
Definition at line 38 of file HHWheelTimerSlowTests.cpp.
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout period has expired.
Implements folly::AsyncTimeout.
Definition at line 56 of file AsyncTimeoutSetTest.cpp.
|
inlineoverridevirtualnoexcept |
timeoutExpired() is invoked when the timeout period has expired.
Implements folly::AsyncTimeout.
Definition at line 898 of file EventBaseTest.cpp.
| std::deque< TimePoint > TestTimeout::canceledTimestamps |
Definition at line 53 of file HHWheelTimerSlowTests.cpp.
Referenced by TEST_F().
|
staticprivate |
Definition at line 81 of file AsyncTimeoutSetTest.cpp.
| std::function< void()> TestTimeout::fn |
Definition at line 54 of file HHWheelTimerSlowTests.cpp.
Referenced by TEST_F().
|
private |
Definition at line 82 of file AsyncTimeoutSetTest.cpp.
| TimePoint TestTimeout::timestamp |
Definition at line 902 of file EventBaseTest.cpp.
Referenced by TEST().
| std::deque< TimePoint > TestTimeout::timestamps |
Definition at line 52 of file HHWheelTimerSlowTests.cpp.
Referenced by TEST_F().
| std::deque<milliseconds> TestTimeout::timestamps |
Definition at line 73 of file AsyncTimeoutSetTest.cpp.