Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DupeTable Class Reference

List of all members.

Public Member Functions

 DupeTable ()
bool new_rpc (SVCXPRT *xprt, struct rpc_msg *msg)
void completed_rpc (SVCXPRT *xprt, struct rpc_msg *msg, int replylen)
ReposStats::DupeStats get_stats ()

Private Member Functions

 DupeTable (const DupeTable &)

Private Attributes

Basics::mutex mu
RPCTable dupeTable
int dupeTableCount
RPCValueoldestDupe
RPCValuenewestDupe
ReposStats::DupeStats dupeStats

Constructor & Destructor Documentation

DupeTable::DupeTable  )  [inline]
 

Definition at line 99 of file dupe.C.

DupeTable::DupeTable const DupeTable  )  [private]
 


Member Function Documentation

void DupeTable::completed_rpc SVCXPRT *  xprt,
struct rpc_msg *  msg,
int  replylen
 

Definition at line 296 of file dupe.C.

References Table< K, V >::Default::Delete(), dupeTable, dupeTableCount, Table< K, V >::Default::Get(), RPCValue::key, Basics::mutex::lock(), mu, RPCValue::newer, newestDupe, RPCValue::older, oldestDupe, RPCValue::reply, RPCValue::replylen, and Basics::mutex::unlock().

Referenced by completed_rpc().

ReposStats::DupeStats DupeTable::get_stats  )  [inline]
 

Definition at line 108 of file dupe.C.

References dupeStats, Basics::mutex::lock(), mu, and Basics::mutex::unlock().

Referenced by get_dupe_stats().

bool DupeTable::new_rpc SVCXPRT *  xprt,
struct rpc_msg *  msg
 

Definition at line 229 of file dupe.C.

References ReposStats::DupeStats::completed, dupeStats, dupeTable, Table< K, V >::Default::Get(), ReposStats::DupeStats::inProcess, RPCValue::key, Basics::mutex::lock(), mu, NEW_CONSTR, RPCValue::newer, newestDupe, ReposStats::DupeStats::non, RPCValue::older, oldestDupe, Table< K, V >::Default::Put(), RPCValue::reply, RPCValue::replylen, and Basics::mutex::unlock().

Referenced by new_rpc().


Member Data Documentation

ReposStats::DupeStats DupeTable::dupeStats [private]
 

Definition at line 96 of file dupe.C.

Referenced by get_stats(), and new_rpc().

RPCTable DupeTable::dupeTable [private]
 

Definition at line 92 of file dupe.C.

Referenced by completed_rpc(), and new_rpc().

int DupeTable::dupeTableCount [private]
 

Definition at line 93 of file dupe.C.

Referenced by completed_rpc().

Basics::mutex DupeTable::mu [private]
 

Definition at line 91 of file dupe.C.

Referenced by completed_rpc(), get_stats(), and new_rpc().

RPCValue* DupeTable::newestDupe [private]
 

Definition at line 95 of file dupe.C.

Referenced by completed_rpc(), and new_rpc().

RPCValue* DupeTable::oldestDupe [private]
 

Definition at line 94 of file dupe.C.

Referenced by completed_rpc(), and new_rpc().


The documentation for this class was generated from the following file:
Generated on Mon May 8 00:49:09 2006 for Vesta by  doxygen 1.4.2