Inherits ShowCont.
Public Member Functions | |
int | showMain (int event, Event *e) |
int | showEvacuations (int event, Event *e) |
int | showVolEvacuations (int event, Event *e) |
int | showVolumes (int event, Event *e) |
int | showVolVolumes (int event, Event *e) |
int | showSegments (int event, Event *e) |
int | showSegSegment (int event, Event *e) |
ShowCacheInternal (Continuation *c, HTTPHdr *h) | |
~ShowCacheInternal () | |
Data Fields | |
int | vol_index |
int | seg_index |
CacheKey | show_cache_key |
CacheVC * | cache_vc |
Definition at line 29 of file CachePagesInternal.cc.
ShowCacheInternal::ShowCacheInternal | ( | Continuation * | c, | |
HTTPHdr * | h | |||
) | [inline] |
Definition at line 49 of file CachePagesInternal.cc.
References SET_HANDLER, and showMain().
ShowCacheInternal::~ShowCacheInternal | ( | ) | [inline] |
Definition at line 55 of file CachePagesInternal.cc.
int ShowCacheInternal::showEvacuations | ( | int | event, | |
Event * | e | |||
) |
Definition at line 195 of file CachePagesInternal.cc.
References ShowCont::begin(), CHECK_SHOW, CONT_SCHED_LOCK_RETRY_RET, SET_HANDLER, ShowCont::show(), and showVolEvacuations().
Referenced by register_ShowCacheInternal().
int ShowCacheInternal::showMain | ( | int | event, | |
Event * | e | |||
) |
Definition at line 108 of file CachePagesInternal.cc.
References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().
Referenced by ShowCacheInternal().
int ShowCacheInternal::showSegments | ( | int | event, | |
Event * | e | |||
) |
Definition at line 299 of file CachePagesInternal.cc.
References CHECK_SHOW, CONT_SCHED_LOCK_RETRY_RET, seg_index, SET_HANDLER, ShowCont::show(), and showSegSegment().
Referenced by showVolVolumes().
int ShowCacheInternal::showSegSegment | ( | int | event, | |
Event * | e | |||
) |
Definition at line 313 of file CachePagesInternal.cc.
References CACHE_TRY_LOCK, CHECK_SHOW, ShowCont::complete(), CONT_SCHED_LOCK_RETRY, CONT_SCHED_LOCK_RETRY_RET, dir_segment_accounted(), gnvol, Continuation::mutex, seg_index, ShowCont::show(), and vol_index.
Referenced by showSegments().
int ShowCacheInternal::showVolEvacuations | ( | int | event, | |
Event * | e | |||
) |
Definition at line 208 of file CachePagesInternal.cc.
References CACHE_TRY_LOCK, CHECK_SHOW, ShowCont::complete(), CONT_SCHED_LOCK_RETRY, CONT_SCHED_LOCK_RETRY_RET, EvacuationBlock::dir, dir_approx_size, Vol::evacuate, EvacuationBlock::f, gnvol, DLL< C, L >::head, Vol::len, Continuation::mutex, EvacuationBlock::readers, ShowCont::show(), Vol::skip, Vol::start, vol_index, and vol_offset().
Referenced by showEvacuations().
int ShowCacheInternal::showVolumes | ( | int | event, | |
Event * | e | |||
) |
Definition at line 239 of file CachePagesInternal.cc.
References ShowCont::begin(), CHECK_SHOW, CONT_SCHED_LOCK_RETRY_RET, SET_HANDLER, ShowCont::show(), and showVolVolumes().
Referenced by register_ShowCacheInternal().
int ShowCacheInternal::showVolVolumes | ( | int | event, | |
Event * | e | |||
) |
Definition at line 259 of file CachePagesInternal.cc.
References Vol::agg, Vol::agg_buf_pos, Vol::agg_todo_size, Vol::buckets, CACHE_BLOCK_SIZE, CACHE_TRY_LOCK, CHECK_SHOW, CONT_SCHED_LOCK_RETRY_RET, VolHeaderFooter::create_time, DIR_DEPTH, Vol::hash_text, DLL< C, L >::head, Vol::header, ink_ctime_r(), Vol::len, Continuation::mutex, VolHeaderFooter::phase, Vol::segments, SET_HANDLER, ShowCont::show(), showSegments(), Vol::skip, Vol::start, VolHeaderFooter::sync_serial, vol_index, VolHeaderFooter::write_pos, and VolHeaderFooter::write_serial.
Referenced by showVolumes().
Definition at line 34 of file CachePagesInternal.cc.
Definition at line 32 of file CachePagesInternal.cc.
Referenced by showSegments(), and showSegSegment().
Definition at line 33 of file CachePagesInternal.cc.
Definition at line 31 of file CachePagesInternal.cc.
Referenced by showSegSegment(), showVolEvacuations(), and showVolVolumes().