Inherits Continuation.

Data Structures | |
| struct | FailEvents |
Public Types | |
| enum | { FAIL_WINDOW = 300 } |
| enum | { SIMPLE_TEST, MULTIPLE_THREAD_TEST, ROTATING_TEST } |
Public Member Functions | |
| int | mainEvent (int event, Event *e) |
| CCFailHistoryTestCont () | |
| CCFailHistoryTestCont (Ptr< ProxyMutex > _mutex, RegressionTest *_test) | |
| ~CCFailHistoryTestCont () | |
| void | init_events () |
| void | clear_events () |
| int | check_history (bool print) |
| int | schedule_event (int event, Event *e) |
Data Fields | |
| int | test_mode |
| int | final_status |
| bool | complete |
| RegressionTest * | test |
| InkAtomicList * | failEvents |
| CongestionControlRecord * | rule |
| CongestionEntry * | entry |
| Action * | pending_action |
Definition at line 173 of file CongestionTest.cc.
| anonymous enum |
Definition at line 175 of file CongestionTest.cc.
| anonymous enum |
Definition at line 177 of file CongestionTest.cc.
| CCFailHistoryTestCont::CCFailHistoryTestCont | ( | ) | [inline] |
Definition at line 188 of file CongestionTest.cc.
| CCFailHistoryTestCont::CCFailHistoryTestCont | ( | Ptr< ProxyMutex > | _mutex, | |
| RegressionTest * | _test | |||
| ) | [inline] |
Definition at line 194 of file CongestionTest.cc.
References entry, CongestionControlRecord::fail_window, mainEvent(), CongestionControlRecord::max_connection_failures, CongestionControlRecord::pRecord, rule, and SET_HANDLER.
| CCFailHistoryTestCont::~CCFailHistoryTestCont | ( | ) | [inline] |
Definition at line 207 of file CongestionTest.cc.
References Action::cancel(), clear_events(), entry, pending_action, CongestionEntry::put(), and rule.
| int CCFailHistoryTestCont::check_history | ( | bool | ) |
Definition at line 297 of file CongestionTest.cc.
References FailHistory::bin_len, FailHistory::bins, FailHistory::cur_index, entry, FailHistory::events, FailHistory::last_event, FailHistory::length, CongestionEntry::m_history, rprintf(), SIMPLE_TEST, CongestionEntry::sprint(), FailHistory::start, test, and test_mode.
Referenced by mainEvent().
| void CCFailHistoryTestCont::clear_events | ( | ) |
Definition at line 234 of file CongestionTest.cc.
References failEvents, ink_atomiclist_popall(), CCFailHistoryTestCont::FailEvents::link, and SLink< C >::next.
Referenced by init_events(), and ~CCFailHistoryTestCont().
| void CCFailHistoryTestCont::init_events | ( | ) |
Definition at line 250 of file CongestionTest.cc.
References clear_events(), FAIL_WINDOW, failEvents, ink_atomiclist_init(), ink_atomiclist_push(), ROTATING_TEST, SIMPLE_TEST, test_mode, and CCFailHistoryTestCont::FailEvents::time.
Referenced by mainEvent().
| int CCFailHistoryTestCont::mainEvent | ( | int | event, | |
| Event * | e | |||
| ) |
Definition at line 321 of file CongestionTest.cc.
References check_history(), complete, entry, EVENT_CONT, final_status, CongestionEntry::init(), init_events(), CongestionControlRecord::pRecord, rule, schedule_event(), RegressionTest::status, test, and test_mode.
Referenced by CCFailHistoryTestCont().
| int CCFailHistoryTestCont::schedule_event | ( | int | event, | |
| Event * | e | |||
| ) |
Definition at line 283 of file CongestionTest.cc.
References entry, CongestionEntry::failed_at(), failEvents, ink_atomiclist_pop(), and CCFailHistoryTestCont::FailEvents::time.
Referenced by mainEvent().
Definition at line 185 of file CongestionTest.cc.
Referenced by mainEvent().
Definition at line 228 of file CongestionTest.cc.
Referenced by CCFailHistoryTestCont(), check_history(), mainEvent(), schedule_event(), and ~CCFailHistoryTestCont().
Definition at line 226 of file CongestionTest.cc.
Referenced by clear_events(), init_events(), and schedule_event().
Definition at line 184 of file CongestionTest.cc.
Referenced by mainEvent().
Definition at line 229 of file CongestionTest.cc.
Referenced by ~CCFailHistoryTestCont().
Definition at line 227 of file CongestionTest.cc.
Referenced by CCFailHistoryTestCont(), mainEvent(), and ~CCFailHistoryTestCont().
Definition at line 186 of file CongestionTest.cc.
Referenced by check_history(), and mainEvent().
Definition at line 183 of file CongestionTest.cc.
Referenced by check_history(), init_events(), and mainEvent().
1.7.1