| 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) | 
Definition at line 384 of file logstats.cc.
| UrlLru::UrlLru | ( | int | size = 1000000, | |
| int | show_urls = 0 | |||
| ) |  [inline] | 
Definition at line 388 of file logstats.cc.
| void UrlLru::add_stat | ( | const char * | url, | |
| int64_t | bytes, | |||
| int | time, | |||
| int | result, | |||
| int | http_code, | |||
| int | as_object = 0 | |||
| ) |  [inline] | 
Definition at line 426 of file logstats.cc.
References ats_free(), ats_strdup, SQUID_LOG_ERR_CLIENT_ABORT, SQUID_LOG_ERR_CONNECT_FAIL, SQUID_LOG_ERR_INVALID_REQ, SQUID_LOG_ERR_READ_TIMEOUT, SQUID_LOG_ERR_UNKNOWN, SQUID_LOG_TCP_DISK_HIT, SQUID_LOG_TCP_EXPIRED_MISS, SQUID_LOG_TCP_HIT, SQUID_LOG_TCP_IMS_HIT, SQUID_LOG_TCP_IMS_MISS, SQUID_LOG_TCP_MEM_HIT, SQUID_LOG_TCP_MISS, SQUID_LOG_TCP_REF_FAIL_HIT, SQUID_LOG_TCP_REFRESH_HIT, SQUID_LOG_TCP_REFRESH_MISS, SQUID_LOG_TCP_WEBFETCH_MISS, SQUID_LOG_UDP_HIT, SQUID_LOG_UDP_HIT_OBJ, SQUID_LOG_UDP_MISS, SQUID_LOG_UDP_WEAK_HIT, and update_elapsed().
Referenced by parse_log_buff().
| 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.
 1.7.1
 1.7.1