Public Types | Public Member Functions | Data Fields

ShowCache Struct Reference

Inherits ShowCont.

Collaboration diagram for ShowCache:
Collaboration graph
[legend]

Public Types

enum  scan_type { scan_type_lookup, scan_type_delete, scan_type_invalidate }

Public Member Functions

int showMain (int event, Event *e)
int lookup_url_form (int event, Event *e)
int delete_url_form (int event, Event *e)
int lookup_regex_form (int event, Event *e)
int delete_regex_form (int event, Event *e)
int invalidate_regex_form (int event, Event *e)
int lookup_url (int event, Event *e)
int delete_url (int event, Event *e)
int lookup_regex (int event, Event *e)
int delete_regex (int event, Event *e)
int invalidate_regex (int event, Event *e)
int handleCacheEvent (int event, Event *e)
int handleCacheDeleteComplete (int event, Event *e)
int handleCacheScanCallback (int event, Event *e)
 ShowCache (Continuation *c, HTTPHdr *h)
 ~ShowCache ()

Data Fields

int vol_index
int seg_index
scan_type scan_flag
int urlstrs_index
int linecount
char(* show_cache_urlstrs )[500]
URL url
CacheKey show_cache_key
CacheVCcache_vc
MIOBufferbuffer
IOBufferReaderbuffer_reader
int64_t content_length
VIOcvio

Detailed Description

Definition at line 31 of file CachePages.cc.


Member Enumeration Documentation

Enumerator:
scan_type_lookup 
scan_type_delete 
scan_type_invalidate 

Definition at line 32 of file CachePages.cc.


Constructor & Destructor Documentation

ShowCache::ShowCache ( Continuation c,
HTTPHdr h 
) [inline]
ShowCache::~ShowCache (  )  [inline]

Definition at line 150 of file CachePages.cc.

References HdrHeapSDKHandle::destroy(), show_cache_urlstrs, and url.


Member Function Documentation

int ShowCache::delete_regex ( int  event,
Event e 
)
int ShowCache::delete_regex_form ( int  event,
Event e 
)

Definition at line 251 of file CachePages.cc.

References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().

Referenced by register_ShowCache().

int ShowCache::delete_url ( int  event,
Event e 
)
int ShowCache::delete_url_form ( int  event,
Event e 
)

Definition at line 226 of file CachePages.cc.

References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().

Referenced by register_ShowCache().

int ShowCache::handleCacheDeleteComplete ( int  event,
Event e 
)

Definition at line 469 of file CachePages.cc.

References CACHE_EVENT_REMOVE, CHECK_SHOW, delete_url(), and ShowCont::show().

Referenced by delete_url().

int ShowCache::handleCacheEvent ( int  event,
Event e 
)
int ShowCache::handleCacheScanCallback ( int  event,
Event e 
)
int ShowCache::invalidate_regex ( int  event,
Event e 
)
int ShowCache::invalidate_regex_form ( int  event,
Event e 
)

Definition at line 263 of file CachePages.cc.

References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().

Referenced by register_ShowCache().

int ShowCache::lookup_regex ( int  event,
Event e 
)
int ShowCache::lookup_regex_form ( int  event,
Event e 
)

Definition at line 238 of file CachePages.cc.

References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().

Referenced by register_ShowCache().

int ShowCache::lookup_url ( int  event,
Event e 
)
int ShowCache::lookup_url_form ( int  event,
Event e 
)

Definition at line 215 of file CachePages.cc.

References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().

Referenced by register_ShowCache().

int ShowCache::showMain ( int  event,
Event e 
)

Definition at line 204 of file CachePages.cc.

References ShowCont::begin(), CHECK_SHOW, ShowCont::complete(), and ShowCont::show().

Referenced by ShowCache().


Field Documentation

Definition at line 47 of file CachePages.cc.

Referenced by handleCacheEvent().

Definition at line 48 of file CachePages.cc.

Referenced by handleCacheEvent().

Definition at line 46 of file CachePages.cc.

Referenced by handleCacheEvent(), and handleCacheScanCallback().

Definition at line 49 of file CachePages.cc.

Referenced by handleCacheEvent().

Definition at line 50 of file CachePages.cc.

Referenced by handleCacheEvent().

Definition at line 42 of file CachePages.cc.

Referenced by handleCacheScanCallback(), and ShowCache().

Definition at line 39 of file CachePages.cc.

Definition at line 45 of file CachePages.cc.

Definition at line 44 of file CachePages.cc.

Referenced by delete_url(), lookup_url(), and ~ShowCache().

Definition at line 41 of file CachePages.cc.

Referenced by delete_url(), and ShowCache().

Definition at line 38 of file CachePages.cc.


The documentation for this struct was generated from the following file: