TAO 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TAO_Connection_Purging_Strategy Class Referenceabstract

The base class for all purging strategies. More...

#include <Connection_Purging_Strategy.h>

Inheritance diagram for TAO_Connection_Purging_Strategy:
Inheritance graph
[legend]

Public Member Functions

 TAO_Connection_Purging_Strategy (int cache_maximum)
 The constructor.
 
virtual ~TAO_Connection_Purging_Strategy ()
 The destructor.
 
virtual int cache_maximum () const
 Return the maximum number of cache entries.
 
virtual void update_item (TAO_Transport &transport)=0
 Sub-classes must implement these methods.
 

Private Attributes

int cache_maximum_
 The maximum number of cache entries.
 

Detailed Description

The base class for all purging strategies.

This class is used by the Transport_Cache_Manager to maintain ordering information on each Transport that is created.

Constructor & Destructor Documentation

◆ TAO_Connection_Purging_Strategy()

TAO_Connection_Purging_Strategy::TAO_Connection_Purging_Strategy ( int cache_maximum)

The constructor.

◆ ~TAO_Connection_Purging_Strategy()

TAO_Connection_Purging_Strategy::~TAO_Connection_Purging_Strategy ( )
virtual

The destructor.

Member Function Documentation

◆ cache_maximum()

int TAO_Connection_Purging_Strategy::cache_maximum ( ) const
virtual

Return the maximum number of cache entries.

◆ update_item()

virtual void TAO_Connection_Purging_Strategy::update_item ( TAO_Transport & transport)
pure virtual

Sub-classes must implement these methods.

Implemented in TAO_LRU_Connection_Purging_Strategy.

Member Data Documentation

◆ cache_maximum_

int TAO_Connection_Purging_Strategy::cache_maximum_
private

The maximum number of cache entries.


The documentation for this class was generated from the following files: