#include <Caching_Strategies_T.h>
Collaboration diagram for ACE_Null_Caching_Strategy:

Public Types | |
| typedef ATTRIBUTES | CACHING_ATTRIBUTES |
Public Methods | |
| ATTRIBUTES | attributes (void) |
| Accessor method. 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) |
| Notification for an item getting bound into the cache. 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) |
| Notification for an item getting bound again into the cache. More... | |
| CACHING_UTILITY & | caching_utility (void) |
| Purge the cache. More... | |
| void | dump (void) const |
| Dumps the state of the object. More... | |
Private Attributes | |
| CACHING_UTILITY | caching_utility_ |
| This is the helper class which will decide and expunge entries from the cache. More... | |
No purging provided. To be used when purging might be too expensive an operation.
Definition at line 477 of file Caching_Strategies_T.h.
|
|||||
|
Definition at line 483 of file Caching_Strategies_T.h. |
|
||||||||||
|
Accessor method.
Definition at line 371 of file Caching_Strategies_T.i.
00372 {
00373 return 0;
00374 }
|
|
||||||||||
|
Purge the cache.
Definition at line 434 of file Caching_Strategies_T.i. References caching_utility_.
00435 {
00436 return this->caching_utility_;
00437 }
|
|
||||||||||
|
Dumps the state of the object.
Definition at line 440 of file Caching_Strategies_T.i. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TRACE, and LM_DEBUG.
00441 {
00442 ACE_TRACE ("ACE_Null_Caching_Strategy::dump");
00443
00444 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00445 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00446 }
|
|
||||||||||||||||
|
Notification for an item getting bound into the cache.
Definition at line 389 of file Caching_Strategies_T.i.
00391 {
00392 ACE_UNUSED_ARG (attr);
00393
00394 return result;
00395 }
|
|
||||||||||||||||
|
This method acts as a notification about the CONTAINERs find method call.
Definition at line 398 of file Caching_Strategies_T.i.
00400 {
00401 ACE_UNUSED_ARG (attr);
00402
00403 return result;
00404 }
|
|
||||||||||||||||
|
Notification for an item getting bound again into the cache.
Definition at line 425 of file Caching_Strategies_T.i.
00427 {
00428 ACE_UNUSED_ARG (attr);
00429
00430 return result;
00431 }
|
|
||||||||||||||||
|
This method acts as a notification about the CONTAINERs trybind method call.
Definition at line 416 of file Caching_Strategies_T.i.
00418 {
00419 ACE_UNUSED_ARG (attr);
00420
00421 return result;
00422 }
|
|
||||||||||||||||
|
This method acts as a notification about the CONTAINERs unbind method call.
Definition at line 407 of file Caching_Strategies_T.i.
00409 {
00410 ACE_UNUSED_ARG (attr);
00411
00412 return result;
00413 }
|
|
||||||||||
|
Set the percentage of entries to purge.
Definition at line 383 of file Caching_Strategies_T.i.
00384 {
00385 ACE_UNUSED_ARG (percentage);
00386 }
|
|
||||||||||
|
Get the percentage of entries to purge.
Definition at line 377 of file Caching_Strategies_T.i.
00378 {
00379 return 0;
00380 }
|
|
|||||
|
This is the helper class which will decide and expunge entries from the cache.
Definition at line 531 of file Caching_Strategies_T.h. Referenced by caching_utility. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002