DSIExtParameterCacheManager Class Reference

A class used by DSIExtQueryExecutor to allow the cached parameters to be safely cleared if SQLCancel is used asynchronously. More...

List of all members.

Classes

class  ParameterCacheReference
 A class which exposes a reference to the parameter cache, while reference counting. More...

Public Member Functions

void ClearCache ()
 Clear the cache as soon as the reference count drops to 0. This should be called from DSIExtQueryExecutor.CancelExecute() and at the end of DSIExtQueryExecutor.Execute().
 DSIExtParameterCacheManager ()
 Constructor.
ParameterCacheReference GetParameterCacheReference ()
 Get a reference to the parameter cache.
 ~DSIExtParameterCacheManager ()
 Destructor.

Friends

class ParameterCacheReference

Detailed Description

A class used by DSIExtQueryExecutor to allow the cached parameters to be safely cleared if SQLCancel is used asynchronously.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

void ClearCache (  ) 

Clear the cache as soon as the reference count drops to 0. This should be called from DSIExtQueryExecutor.CancelExecute() and at the end of DSIExtQueryExecutor.Execute().

ParameterCacheReference GetParameterCacheReference (  ) 

Get a reference to the parameter cache.

Returns:
A reference to the parameter cache.

Friends And Related Function Documentation

friend class ParameterCacheReference [friend]

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

Generated on Wed May 17 14:21:17 2017 for SimbaEngine 10.1.3.1011 by simba