|
ACE
6.4.2
|
This class follows the Adaptor pattern and is used to provide External Polymorphism by deriving from ACE_Caching_Strategy. More...
#include <Caching_Strategies_T.h>


Public Member Functions | |
| ACE_Caching_Strategy_Adapter (IMPLEMENTATION *implementation=0, bool delete_implementation=false) | |
| 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) |
| 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 (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... | |
Public Member Functions inherited from ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY > | |
| virtual | ~ACE_Caching_Strategy (void) |
| Destructor. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Private Attributes | |
| IMPLEMENTATION * | implementation_ |
| Implementation class. More... | |
| bool | delete_implementation_ |
| Do we need to delete the implementation? More... | |
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.
|
inline |
Constructor.
|
inline |
Destructor.
|
inlinevirtual |
Accessor method for the timer attributes.
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
Purge the cache.
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
Dumps the state of the object.
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inline |
Accessor to the implementation.
|
inlinevirtual |
This method acts as a notification about the CONTAINERs bind method call.
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
This method acts as a notification about the CONTAINERs find method call
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
This method acts as a notification about the CONTAINERs rebind method call
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
This method acts as a notification about the CONTAINERs trybind method call
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
This method acts as a notification about the CONTAINERs unbind method call
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
Get the percentage of entries to purge.
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
|
inlinevirtual |
Set the percentage of entries to purge.
Implements ACE_Caching_Strategy< ATTRIBUTES, CACHING_UTILITY >.
| ACE_Caching_Strategy_Adapter< ATTRIBUTES, CACHING_UTILITY, IMPLEMENTATION >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |
Do we need to delete the implementation?
|
private |
Implementation class.
1.8.11