class Http/Cache/TTL/Plain : Http/Cache/TTL


Public Fields

Http/Cache/TTL/Plain instvar ns_
Http/Cache/TTL/Plain instvar thresh_

Public Methods

Http/Cache/TTL/Plain instproc init { args }
Http/Cache/TTL/Plain instproc is-expired { pageid }

Inherited from Http/Cache/TTL:

Public Fields

Http/Cache/TTL instvar creq_
Http/Cache/TTL instvar parent_
Http/Cache/TTL instvar stat_

Public Methods

Http/Cache/TTL instproc answer-request-IMS { client pageid args }
Http/Cache/TTL instproc get-response-IMS { server pageid args }
Http/Cache/TTL instproc is-consistent { cl type pageid }
Http/Cache/TTL instproc refetch { cl type pageid }
Http/Cache/TTL instproc refetch-pending { cl type pageid }
Http/Cache/TTL instproc set-thresh { th }

Inherited from HttpCache:

Public Fields

Http/Cache instvar clist_
Http/Cache instvar fid_
Http/Cache instvar id_
Http/Cache instvar node_
Http/Cache instvar pending_
Http/Cache instvar slist_
Http/Cache instvar TRANSPORT_

Public Methods

Http/Cache instproc alloc-connection { client fid }
Http/Cache instproc answer-pending-requests { pageid args }
Http/Cache instproc answer-request-GET { cl pageid args }
Http/Cache instproc cache-hit { cl type pageid }
Http/Cache instproc cache-miss { cl type pageid }
Http/Cache instproc connect { server }
Http/Cache instproc disconnect { http }
Http/Cache instproc disconnect-client { client }
Http/Cache instproc disconnect-server { server }
Http/Cache instproc get-request { cl type pageid args }
Http/Cache instproc get-response-GET { server pageid args }
Http/Cache instproc send-request { server type pageid size args }
Http/Cache instproc set-parent { server }

Inherited from HttpApp:

Public Fields

Http instvar pool_

Public Methods

Http instproc addr {}
virtual int command(int argc, const char*const* argv)
Http instproc create-pagepool {}
Http instproc get-cachesize {}
Http instproc get-hbsize {}
Http instproc get-imssize {}
Http instproc get-invsize {}
Http instproc get-joinsize {}
Http instproc get-mpusize {}
Http instproc get-ntfsize {}
Http instproc get-pfsize {}
Http instproc get-refsize {}
Http instproc get-reqsize {}
virtual AppData* get_data(int&, AppData*)
Http instproc getfid {}
int id()
void log(const char *fmt, ...)
virtual void process_data(int size, AppData* d)
Http instproc set-cachesize { size }
Http instproc stat { name }

Protected Fields

Tcl_Channel log_
ClientPagePool* pool_
Tcl_HashTable* tpa_

Protected Methods

int add_cnc(HttpApp *client, TcpApp *agt)
void delete_cnc(HttpApp *client)
TcpApp* lookup_cnc(HttpApp *client)
void set_pagepool(ClientPagePool* pp)

Inherited from Process:

Public Methods

virtual void send_data(int size, AppData* data = 0)
inline Process*& target()

Protected Fields

Process* target_


Old style TTL, using a single fixed threshold
Http/Cache/TTL/Plain instproc init { args }

Http/Cache/TTL/Plain instvar thresh_

Http/Cache/TTL/Plain instproc is-expired { pageid }

Http/Cache/TTL/Plain instvar ns_

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling