Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy Class Template Reference

Defines a strategy to be followed for cleaning up entries which are svc_handlers from a container. More...

#include <Cleanup_Strategies_T.h>

Inheritance diagram for ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy

Inheritance graph
[legend]
Collaboration diagram for ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual int cleanup (CONTAINER &container, KEY *key, VALUE *value)
 The method which will do the cleanup of the entry in the container.


Detailed Description

template<class KEY, class VALUE, class CONTAINER> template class ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy

Defines a strategy to be followed for cleaning up entries which are svc_handlers from a container.

The entry to be cleaned up is removed from the container. Here, since we are dealing with recyclable svc_handlers with addresses which are refcountable specifically, we perform a couple of extra operations and do so without any locking.


Member Function Documentation

template<classKEY, classVALUE, classCONTAINER>
int ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy<KEY, VALUE, CONTAINER>::cleanup ( CONTAINER & container,
KEY * key,
VALUE * value ) [virtual]
 

The method which will do the cleanup of the entry in the container.

Reimplemented from ACE_Cleanup_Strategy.


The documentation for this class was generated from the following files:
Generated at Sat Dec 1 11:04:41 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000