Page Speed Optimization Libraries  1.4.26.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::WorkBound Class Reference

#include "work_bound.h"

Inheritance diagram for net_instaweb::WorkBound:
net_instaweb::StatisticsWorkBound

List of all members.

Public Member Functions

virtual bool TryToWork ()=0
virtual void WorkComplete ()=0

Detailed Description

A WorkBound represents permission to do work bounded by some upper bound. Roughly speaking we can represent this as a bounded shared counter, but how we realize the counter implementation must vary from system to system.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines