ACE
6.1.8
|
Defines the interface for a connection recycler. More...
#include <Connection_Recycling_Strategy.h>
Public Member Functions | |
virtual | ~ACE_Connection_Recycling_Strategy (void) |
Virtual Destructor. More... | |
virtual int | purge (const void *recycling_act)=0 |
Remove from cache. More... | |
virtual int | cache (const void *recycling_act)=0 |
Add to cache. More... | |
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. More... | |
virtual int | mark_as_closed (const void *recycling_act)=0 |
Mark as closed. More... | |
virtual int | mark_as_closed_i (const void *recycling_act)=0 |
Mark as closed.(non-locking version) More... | |
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. More... | |
Defines the interface for a connection recycler.
|
virtual |
Virtual Destructor.
|
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 >.
|
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 >.
|
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 >.
|
pure virtual |
Mark as closed.(non-locking version)
Implemented in ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_1, MUTEX >, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >, ACE_Cached_Connect_Strategy_Ex< SVC_HANDLER, ACE_PEER_CONNECTOR_1, CACHING_STRATEGY, ATTRIBUTES, MUTEX >, and ACE_Cached_Connect_Strategy_Ex< SVC_HANDLER, ACE_PEER_CONNECTOR_2, CACHING_STRATEGY, ATTRIBUTES, MUTEX >.
|
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 >.
|
pure virtual |
|
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 >.