Page Speed Optimization Libraries
1.3.25.1
|
Public Member Functions | |
SimpleStatsVariable (AbstractMutex *mutex) | |
virtual int64 | Get () const |
virtual void | Set (int64 value) |
virtual int64 | Add (int delta) |
virtual StringPiece | GetName () const |
virtual int64 net_instaweb::SimpleStatsVariable::Add | ( | int | delta | ) | [virtual] |
Adds 'delta' to the variable's value, returning the result. This is virtual so that subclasses can add platform-specific atomicity.
Reimplemented from net_instaweb::Variable.
virtual StringPiece net_instaweb::SimpleStatsVariable::GetName | ( | ) | const [inline, virtual] |
Return some name representing the variable, provided that the specific implementation has some sensible way of doing so.
Implements net_instaweb::Variable.