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

#include "abstract_property_store_get_callback.h"

Inheritance diagram for net_instaweb::AbstractPropertyStoreGetCallback:

Public Member Functions

virtual void FastFinishLookup ()=0
virtual void DeleteWhenDone ()=0

Detailed Description

Abstract class which manages the storage system lookup. Any PropertyStore can derive from this class and objects of this class are created by PropertyStore::Get(). PropertyStores must return an implementation of this interface from Get.

TODO(pulkitg): Revisit this to make this inner class of PropertyStore.

Member Function Documentation

virtual void net_instaweb::AbstractPropertyStoreGetCallback::DeleteWhenDone ( )
pure virtual

Deletes this after Done has run. Callback is no more useful after this is called, so it should be called only after all required operations are done by client on this callback.

Implemented in net_instaweb::PropertyStoreGetCallback.

virtual void net_instaweb::AbstractPropertyStoreGetCallback::FastFinishLookup ( )
pure virtual

Try to finish all the pending lookups if possible and call Done as soon as possible.

Implemented in net_instaweb::PropertyStoreGetCallback.

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