Public Member Functions

UrlLru Class Reference

Public Member Functions

 UrlLru (int size=1000000, int show_urls=0)
void resize (int size=0)
void dump (int as_object=0)
void add_stat (const char *url, int64_t bytes, int time, int result, int http_code, int as_object=0)

Detailed Description

Definition at line 384 of file logstats.cc.


Constructor & Destructor Documentation

UrlLru::UrlLru ( int  size = 1000000,
int  show_urls = 0 
) [inline]

Definition at line 388 of file logstats.cc.


Member Function Documentation

void UrlLru::add_stat ( const char *  url,
int64_t  bytes,
int  time,
int  result,
int  http_code,
int  as_object = 0 
) [inline]
void UrlLru::dump ( int  as_object = 0  )  [inline]

Definition at line 409 of file logstats.cc.

References ink_time_wall_seconds().

Referenced by my_exit().

void UrlLru::resize ( int  size = 0  )  [inline]

Definition at line 398 of file logstats.cc.


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