ACE  6.0.6
Public Member Functions
ACE_Caching_Strategy Class Reference

This class is an abstract base class for a caching strategy. More...

#include <Caching_Strategies_T.h>

List of all members.

Public Member Functions

virtual ~ACE_Caching_Strategy (void)
 Destructor.
virtual ATTRIBUTES attributes (void)=0
 Accessor method for the timer attributes.
virtual double purge_percent (void)=0
 Get the percentage of entries to purge.
virtual void purge_percent (double percentage)=0
 Set the percentage of entries to purge.
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 (void)=0
 Purge the cache.
virtual void dump (void) const =0
 Dumps the state of the object.

Detailed Description

This class is an abstract base class for a caching strategy.

This class consists of all the interfaces a caching strategy should have and is used in association with the ACE_Caching_Strategy_Adaptor.


Constructor & Destructor Documentation

virtual ACE_Caching_Strategy::~ACE_Caching_Strategy ( void  ) [virtual]

Destructor.


Member Function Documentation

virtual ATTRIBUTES ACE_Caching_Strategy::attributes ( void  ) [pure virtual]

Accessor method for the timer attributes.

Implemented in ACE_Caching_Strategy_Adapter.

virtual CACHING_UTILITY& ACE_Caching_Strategy::caching_utility ( void  ) [pure virtual]

Purge the cache.

Implemented in ACE_Caching_Strategy_Adapter.

virtual void ACE_Caching_Strategy::dump ( void  ) const [pure virtual]

Dumps the state of the object.

Implemented in ACE_Caching_Strategy_Adapter.

virtual int ACE_Caching_Strategy::notify_bind ( int  result,
const ATTRIBUTES &  attr 
) [pure virtual]

This method acts as a notification about the CONTAINERs bind method call.

Implemented in ACE_Caching_Strategy_Adapter.

virtual int ACE_Caching_Strategy::notify_find ( int  result,
ATTRIBUTES &  attr 
) [pure virtual]

This method acts as a notification about the CONTAINERs find method call

Implemented in ACE_Caching_Strategy_Adapter.

virtual int ACE_Caching_Strategy::notify_rebind ( int  result,
const ATTRIBUTES &  attr 
) [pure virtual]

This method acts as a notification about the CONTAINERs rebind method call

Implemented in ACE_Caching_Strategy_Adapter.

virtual int ACE_Caching_Strategy::notify_trybind ( int  result,
ATTRIBUTES &  attr 
) [pure virtual]

This method acts as a notification about the CONTAINERs trybind method call

Implemented in ACE_Caching_Strategy_Adapter.

virtual int ACE_Caching_Strategy::notify_unbind ( int  result,
const ATTRIBUTES &  attr 
) [pure virtual]

This method acts as a notification about the CONTAINERs unbind method call

Implemented in ACE_Caching_Strategy_Adapter.

virtual double ACE_Caching_Strategy::purge_percent ( void  ) [pure virtual]

Get the percentage of entries to purge.

Implemented in ACE_Caching_Strategy_Adapter.

virtual void ACE_Caching_Strategy::purge_percent ( double  percentage) [pure virtual]

Set the percentage of entries to purge.

Implemented in ACE_Caching_Strategy_Adapter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines