Page Speed Optimization Libraries
1.13.35.1
|
These variables are thread-safe. More...
#include "simple_stats.h"
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 AbstractMutex * | mutex () 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) |
These variables are thread-safe.