#include <ICP.h>
Inherits PeriodicCont.
Public Types | |
enum | { PERIODIC_INTERVAL = 5000 } |
enum | { RETRY_INTERVAL_MSECS = 10 } |
Public Member Functions | |
ICPPeriodicCont (ICPProcessor *) | |
~ICPPeriodicCont () | |
virtual int | PeriodicEvent (int, Event *) |
int | DoReconfigAction (int, Event *) |
Definition at line 978 of file ICP.h.
ICPPeriodicCont::ICPPeriodicCont | ( | ICPProcessor * | icpP | ) |
Definition at line 1167 of file ICPConfig.cc.
Referenced by PeriodicEvent().
int ICPPeriodicCont::DoReconfigAction | ( | int | event, | |
Event * | e | |||
) |
Definition at line 1201 of file ICPConfig.cc.
References PeriodicCont::_ICPpr, EVENT_IMMEDIATE, EVENT_INTERVAL, ICPProcessor::GetConfig(), ICPConfiguration::GlobalConfigChange(), HRTIME_MSECONDS, ICP_INCREMENT_DYN_STAT, ink_assert, ink_release_assert, ICPConfiguration::Lock(), ICPConfiguration::PeerConfigChange(), ICPProcessor::RC_DONE, ICPProcessor::RC_RECONFIG, reconfig_events_stat, reconfig_polls_stat, ICPProcessor::ReconfigureStateMachine(), RETRY_INTERVAL_MSECS, Event::schedule_in(), and ICPConfiguration::Unlock().
Referenced by PeriodicEvent().
int ICPPeriodicCont::PeriodicEvent | ( | int | , | |
Event * | ||||
) | [virtual] |
Implements PeriodicCont.
Definition at line 1173 of file ICPConfig.cc.
References PeriodicCont::_ICPpr, DoReconfigAction(), eventProcessor, ICPProcessor::GetConfig(), ICPConfiguration::GlobalConfigChange(), ICPConfiguration::ICPConfigCallouts(), ICPPeriodicCont(), EventProcessor::schedule_imm(), and SET_CONTINUATION_HANDLER.
Referenced by ICPProcessor::start().