19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_REWRITE_DRIVER_POOL_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_REWRITE_DRIVER_POOL_H_
26 namespace net_instaweb {
50 std::vector<RewriteDriver*> drivers_;
55 static const int kMaxDriversInPool = 50;
RewriteDriver * PopDriver()
Return a driver from freelist, or NULL.
void RecycleDriver(RewriteDriver *driver)
Stores the driver on freelist, and Clear()s it for reuse.
Definition: rewrite_driver_pool.h:34
Definition: rewrite_driver.h:100
virtual ~RewriteDriverPool()
Deletes all drivers in the pool.
Definition: rewrite_options.h:84