summaryrefslogtreecommitdiff
path: root/TAO/tao/Transport_Cache_Manager_T.inl
Commit message (Collapse)AuthorAgeFilesLines
* Zapped c-style id tag with no space between // and $Id$Johnny Willemsen2015-01-071-2/+0
|
* Thu Apr 11 18:03:24 UTC 2013 Huang-Ming Huang <huangh@ociweb.com>huangh2013-04-111-1/+1
|
* Removed trailing whitespacesJohnny Willemsen2010-09-171-1/+1
|
* Thu Sep 16 09:14:39 UTC 2010 Martin Corino <mcorino@remedy.nl>mcorino2010-09-161-12/+19
| | | | | | | | | | * tao/Transport_Cache_Manager_T.inl: * tao/Transport_Cache_Manager_T.h: * tao/Transport_Cache_Manager_T.cpp: * tao/Transport.cpp: Changes to fix threadsafety of cache entry management. This fixes Bugzilla #3812.
* Mon Aug 23 09:31:41 UTC 2010 Martin Corino <mcorino@remedy.nl>mcorino2010-08-231-2/+2
| | | | | | * tao/Transport_Cache_Manager_T.inl: Fuzz fix.
* Fri Aug 20 14:44:41 UTC 2010 Martin Corino <mcorino@remedy.nl>mcorino2010-08-201-2/+9
| | | | | | | | * tao/Transport_Cache_Manager_T.inl: * tao/Transport_Cache_Manager_T.cpp: Moved check for null entry outside lock. Optimization. Resolves Bugzilla #3659.
* Tue Feb 17 14:03:39 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2009-02-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * orbsvcs/orbsvcs/HTIOP/HTIOP_Connector.cpp: * orbsvcs/orbsvcs/PortableGroup/UIPMC_Connector.cpp: * orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connector.cpp: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp: * tao/Strategies/DIOP_Connector.cpp: * tao/Strategies/SCIOP_Connector.cpp: * tao/Strategies/SHMIOP_Connector.cpp: * tao/Strategies/UIOP_Connector.cpp: Only the return of -1 with cache_transport should be seen as an error * tao/Cache_Entries_T.cpp: Updated some debug statements * tao/Condition.cpp: * tao/Condition.h: Changed delete_lock_ to a bool * tao/Exception.cpp: * tao/SystemException.cpp: Check for self assignment in operator= * tao/IIOP_Connection_Handler.cpp: Layout changes to debug statements and use ACE_TEXT * tao/IIOP_Connector.cpp: Check the return value of cache_transport * tao/Leader_Follower.inl: Const change * tao/LF_CH_Event.cpp: * tao/LF_Event.h: * tao/LF_Event.inl: Addeds state_name to LF_Event and print the state as string instead of number * tao/Strategies/SCIOP_Acceptor.cpp: Fixed gcc warning, don't use ACE_UNUSED_ARG anymore * tao/Strategies/SCIOP_Connection_Handler.cpp: Layout change * tao/String_Alloc.cpp: Simplified check * tao/Transport_Cache_Manager_T.cpp: * tao/Transport_Cache_Manager_T.h: * tao/Transport_Cache_Manager_T.inl: Updated various debug statements. When we have to purge the cache always try to purge the cache with 1 entry else we don't purge when we have a very small cache. Make the maximum transport cache size a real maximum, it was previously not a real maximum, just a default allocation value. This fixes 3570 * tao/Transport_Connector.cpp: Check the return value of cache_transport. * tao/ZIOP/ZIOP.cpp: * tao/ZIOP/ZIOP.h Layout changes * tests/Bug_3558_Regression/client.cpp: * tests/Transport_Cache_Manager/Bug_3558_Regression.cpp: The cache has now a real maximum, updated these tests
* Wed Feb 4 19:43:13 UTC 2009 Phil Mesnier <mesnier_p@ociweb.com>Phil Mesnier2009-02-041-24/+24
|
* Tue Feb 3 15:41:12 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2009-02-031-25/+24
| | | | | | | * tao/Transport_Cache_Manager_T.cpp: * tao/Transport_Cache_Manager_T.h: * tao/Transport_Cache_Manager_T.inl: Renamed TDT to TRDT in an attempt to fix Sun GCC issues
* Tue Feb 3 15:07:12 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2009-02-031-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tao/Cache_Entries_T.h: * tao/Cache_Entries_T.inl: Removed ENTRY_IDLE_BUT_NOT_PURGABLE state. This was the initial state a transport was set when it got connected, but this prevents the transport to get purged when the cache is getting full. When the server has been called by a lot of clients but didn't make invocations back we have a lot of transports with this state and at the end the cache got full. The disadvantage is that when we have a transport that has been connected but not used until now it gets purged, when we then need it again we have to recreate it. * tao/Exclusive_TMS.cpp: * tao/Exclusive_TMS.h: * tao/Muxed_TMS.cpp: * tao/Muxed_TMS.h: * tao/Transport_Mux_Strategy.h: Added a has_request, the TMS does now if we have pending requests on a transport. When a transport has pending request we can't purge it. * tao/IIOP_Connection_Handler.cpp: * tao/Strategies/SCIOP_Connection_Handler.cpp: * tao/Strategies/SHMIOP_Connection_Handler.cpp: * tao/Strategies/UIOP_Connection_Handler.cpp: * orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp: * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp: Call cache_transport instead of cache_idle_transport * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp: Fixed unicode logging issue * tao/Transport.cpp: * tao/Transport.h: Added can_be_purged that is used by the TCM * tao/Transport_Cache_Manager_T.cpp: * tao/Transport_Cache_Manager_T.h: * tao/Transport_Cache_Manager_T.inl: Updated for the removed state and when selecting the transports that can be purged also check the can_be_purged on the transport * tao/Transport_Connector.cpp: Unicode fix * tests/Transport_Cache_Manager/Bug_3558_Regression.cpp: * tests/Transport_Cache_Manager/mock_transport.h: Updated for TCM/Transport changes
* Mon Feb 2 11:18:17 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2009-02-021-26/+27
| | | | | | | | * tao/Transport_Cache_Manager.h: * tao/Transport_Cache_Manager_T.cpp: * tao/Transport_Cache_Manager_T.h: * tao/Transport_Cache_Manager_T.inl: The purging strategy is now also a template argument
* Fri Jan 30 10:57:14 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>Johnny Willemsen2009-01-301-0/+156