#include <Caching_Strategies_T.h>
Inheritance diagram for ACE_Caching_Strategy_Adapter:
Public Methods | |
ACE_Caching_Strategy_Adapter (IMPLEMENTATION *implementation=0, int delete_implementation=0) | |
Constructor. More... | |
~ACE_Caching_Strategy_Adapter (void) | |
Destructor. More... | |
ATTRIBUTES | attributes (void) |
Accessor method for the timer attributes. More... | |
double | purge_percent (void) |
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) |
This method acts as a notification about the CONTAINERs bind method call. More... | |
int | notify_find (int result, ATTRIBUTES &attr) |
This method acts as a notification about the CONTAINERs find method call. More... | |
int | notify_unbind (int result, const ATTRIBUTES &attr) |
This method acts as a notification about the CONTAINERs unbind method call. More... | |
int | notify_trybind (int result, ATTRIBUTES &attr) |
This method acts as a notification about the CONTAINERs trybind method call. More... | |
int | notify_rebind (int result, const ATTRIBUTES &attr) |
This method acts as a notification about the CONTAINERs rebind method call. More... | |
IMPLEMENTATION & | implementation (void) |
Accessor to the implementation. More... | |
CACHING_UTILITY & | caching_utility (void) |
Purge the cache. More... | |
void | dump (void) const |
Dumps the state of the object. More... | |
Private Attributes | |
IMPLEMENTATION * | implementation_ |
Implementation class. More... | |
int | delete_implementation_ |
Do we need to delete the implementation? More... |
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.
|
Constructor.
|
|
Destructor.
|
|
Accessor method for the timer attributes.
Reimplemented from ACE_Caching_Strategy. |
|
Purge the cache.
Reimplemented from ACE_Caching_Strategy. |
|
Dumps the state of the object.
Reimplemented from ACE_Caching_Strategy. |
|
Accessor to the implementation.
|
|
This method acts as a notification about the CONTAINERs bind method call.
Reimplemented from ACE_Caching_Strategy. |
|
This method acts as a notification about the CONTAINERs find method call.
Reimplemented from ACE_Caching_Strategy. |
|
This method acts as a notification about the CONTAINERs rebind method call.
Reimplemented from ACE_Caching_Strategy. |
|
This method acts as a notification about the CONTAINERs trybind method call.
Reimplemented from ACE_Caching_Strategy. |
|
This method acts as a notification about the CONTAINERs unbind method call.
Reimplemented from ACE_Caching_Strategy. |
|
Set the percentage of entries to purge.
Reimplemented from ACE_Caching_Strategy. |
|
Get the percentage of entries to purge.
Reimplemented from ACE_Caching_Strategy. |
|
Do we need to delete the implementation?
|
|
Implementation class.
|