Inherits Continuation.
Public Member Functions | |
int | sync_event (int event, void *edata) |
int | wait_event (int event, void *edata) |
HostDBSyncer () | |
Data Fields | |
int | frequency |
ink_hrtime | start_time |
Definition at line 321 of file HostDB.cc.
HostDBSyncer::HostDBSyncer | ( | ) |
Definition at line 333 of file HostDB.cc.
References SET_HANDLER, and sync_event().
int HostDBSyncer::sync_event | ( | int | event, | |
void * | edata | |||
) |
Definition at line 341 of file HostDB.cc.
References HostDBProcessor::cache(), ink_get_hrtime(), SET_HANDLER, start_time, MultiCacheBase::sync_partitions(), and wait_event().
Referenced by HostDBSyncer(), and wait_event().
int HostDBSyncer::wait_event | ( | int | event, | |
void * | edata | |||
) |
Definition at line 351 of file HostDB.cc.
References hostdb_sync_frequency, HRTIME_MSECONDS, HRTIME_SECONDS, ink_get_hrtime(), Continuation::mutex, SET_HANDLER, start_time, and sync_event().
Referenced by sync_event().
Definition at line 324 of file HostDB.cc.
Referenced by sync_event(), and wait_event().