#include <Connection_Recycling_Strategy.h>
Public Member Functions | |
virtual | ~ACE_Connection_Recycling_Strategy (void) |
Virtual Destructor. | |
virtual int | purge (const void *recycling_act)=0 |
Remove from cache. | |
virtual int | cache (const void *recycling_act)=0 |
Add to cache. | |
virtual int | recycle_state (const void *recycling_act, ACE_Recyclable_State new_state)=0 |
virtual ACE_Recyclable_State | recycle_state (const void *recycling_act) const =0 |
Get/Set recycle_state. | |
virtual int | mark_as_closed (const void *recycling_act)=0 |
Mark as closed. | |
virtual int | mark_as_closed_i (const void *recycling_act)=0 |
Mark as closed.(non-locking version). | |
virtual int | cleanup_hint (const void *recycling_act, void **act_holder=0)=0 |
Cleanup hint and reset act_holder to zero if act_holder != 0. |
ACE_Connection_Recycling_Strategy::~ACE_Connection_Recycling_Strategy | ( | void | ) | [virtual] |
Virtual Destructor.
virtual int ACE_Connection_Recycling_Strategy::cache | ( | const void * | recycling_act | ) | [pure virtual] |
Add to cache.
Implemented in ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >.
virtual int ACE_Connection_Recycling_Strategy::cleanup_hint | ( | const void * | recycling_act, | |
void ** | act_holder = 0 | |||
) | [pure virtual] |
Cleanup hint and reset act_holder to zero if act_holder != 0.
Implemented in ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >.
virtual int ACE_Connection_Recycling_Strategy::mark_as_closed | ( | const void * | recycling_act | ) | [pure virtual] |
Mark as closed.
Implemented in ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >.
virtual int ACE_Connection_Recycling_Strategy::mark_as_closed_i | ( | const void * | recycling_act | ) | [pure virtual] |
Mark as closed.(non-locking version).
Implemented in ACE_Cached_Connect_Strategy_Ex< SVC_HANDLER, ACE_PEER_CONNECTOR_1, CACHING_STRATEGY, ATTRIBUTES, MUTEX >, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, ACE_Cached_Connect_Strategy_Ex< SVC_HANDLER, ACE_PEER_CONNECTOR_2, CACHING_STRATEGY, ATTRIBUTES, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >.
virtual int ACE_Connection_Recycling_Strategy::purge | ( | const void * | recycling_act | ) | [pure virtual] |
Remove from cache.
Implemented in ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >.
virtual ACE_Recyclable_State ACE_Connection_Recycling_Strategy::recycle_state | ( | const void * | recycling_act | ) | const [pure virtual] |
Get/Set recycle_state.
Implemented in ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >.
virtual int ACE_Connection_Recycling_Strategy::recycle_state | ( | const void * | recycling_act, | |
ACE_Recyclable_State | new_state | |||
) | [pure virtual] |