This class follows the Adaptor pattern and is used to provide External Polymorphism by deriving from ACE_Caching_Strategy.
More...
|
| ACE_Caching_Strategy_Adapter (IMPLEMENTATION *implementation=0, bool delete_implementation=false) |
| Constructor. More...
|
|
| ~ACE_Caching_Strategy_Adapter () |
| Destructor. More...
|
|
ATTRIBUTES | attributes () |
| Accessor method for the timer attributes. More...
|
|
double | purge_percent () |
| Get the percentage of entries to purge. More...
|
|
void | purge_percent (double percentage) |
| Set the percentage of entries to purge. More...
|
|
int | notify_bind (int result, const ATTRIBUTES &attr) |
|
int | notify_find (int result, ATTRIBUTES &attr) |
|
int | notify_unbind (int result, const ATTRIBUTES &attr) |
|
int | notify_trybind (int result, ATTRIBUTES &attr) |
|
int | notify_rebind (int result, const ATTRIBUTES &attr) |
|
IMPLEMENTATION & | implementation () |
| Accessor to the implementation. More...
|
|
CACHING_UTILITY & | caching_utility () |
| Purge the cache. More...
|
|
void | dump () const |
| Dumps the state of the object. More...
|
|
virtual | ~ACE_Caching_Strategy () |
| Destructor. More...
|
|
virtual ATTRIBUTES | attributes ()=0 |
| Accessor method for the timer attributes. More...
|
|
virtual double | purge_percent ()=0 |
| Get the percentage of entries to purge. More...
|
|
virtual void | purge_percent (double percentage)=0 |
| Set the percentage of entries to purge. More...
|
|
virtual int | notify_bind (int result, const ATTRIBUTES &attr)=0 |
|
virtual int | notify_find (int result, ATTRIBUTES &attr)=0 |
|
virtual int | notify_unbind (int result, const ATTRIBUTES &attr)=0 |
|
virtual int | notify_trybind (int result, ATTRIBUTES &attr)=0 |
|
virtual int | notify_rebind (int result, const ATTRIBUTES &attr)=0 |
|
virtual CACHING_UTILITY & | caching_utility ()=0 |
| Purge the cache. More...
|
|
virtual void | dump () const =0 |
| Dumps the state of the object. More...
|
|
template<class ATTRIBUTES, class CACHING_UTILITY, class IMPLEMENTATION>
class ACE_Caching_Strategy_Adapter< ATTRIBUTES, CACHING_UTILITY, IMPLEMENTATION >
This class follows the Adaptor pattern and is used to provide External Polymorphism by deriving from ACE_Caching_Strategy.
This class simply delegates all requests to the IMPLEMNETATION object within. This class should be passed in place of the the abstract base ACE_Caching_Strategy class as part of the External Polymorphism pattern.