Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
net_instaweb::SimpleStatsVariable Class Reference

These variables are thread-safe. More...

#include "simple_stats.h"

Inheritance diagram for net_instaweb::SimpleStatsVariable:
net_instaweb::MutexedScalar

Public Member Functions

 SimpleStatsVariable (StringPiece name, Statistics *stats)
 
virtual StringPiece GetName () const
 
void set_mutex (AbstractMutex *mutex)
 
- Public Member Functions inherited from net_instaweb::MutexedScalar
int64 Get () const
 
void Set (int64 value)
 
int64 SetReturningPreviousValue (int64 value)
 
int64 AddHelper (int64 delta)
 

Protected Member Functions

virtual AbstractMutexmutex () const
 
virtual int64 GetLockHeld () const
 Get/Setters that may only be called if you already hold the mutex.
 
virtual int64 SetReturningPreviousValueLockHeld (int64 value)
 
- Protected Member Functions inherited from net_instaweb::MutexedScalar
void SetLockHeld (int64 value)
 
int64 AddLockHeld (int64 delta)
 

Detailed Description

These variables are thread-safe.


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