diff options
author | bala <balanatarajan@users.noreply.github.com> | 2000-10-25 17:24:39 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2000-10-25 17:24:39 +0000 |
commit | f870fc4907690659a1e62cfe4fee93958962d571 (patch) | |
tree | 2a47cbba76b2b089f7f6f6cc7ef125a82dd7e46a | |
parent | ae6c132dedd802e5775b7162e88b784a662e65d1 (diff) | |
download | ATCD-f870fc4907690659a1e62cfe4fee93958962d571.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/tao/Connection_Cache_Manager.i | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/TAO/tao/Connection_Cache_Manager.i b/TAO/tao/Connection_Cache_Manager.i deleted file mode 100644 index 285b5d335ef..00000000000 --- a/TAO/tao/Connection_Cache_Manager.i +++ /dev/null @@ -1,107 +0,0 @@ -/* -*- C++ -*- */ -//$Id$ - -ACE_INLINE int -TAO_Connection_Cache_Manager::bind (TAO_Cache_ExtId &ext_id, - TAO_Cache_IntId &int_id) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - - return this->bind_i (ext_id, - int_id); -} - - -ACE_INLINE int -TAO_Connection_Cache_Manager::find (const TAO_Cache_ExtId &key, - TAO_Cache_IntId &value) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - - return this->find_i (key, - value); -} - -ACE_INLINE int -TAO_Connection_Cache_Manager::rebind (const TAO_Cache_ExtId &key, - const TAO_Cache_IntId &value) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - - return this->rebind_i (key, - value); -} - -ACE_INLINE int -TAO_Connection_Cache_Manager::trybind (const TAO_Cache_ExtId &key, - TAO_Cache_IntId &value) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - - return this->trybind_i (key, value); -} - -ACE_INLINE int -TAO_Connection_Cache_Manager::unbind (const TAO_Cache_ExtId &key) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - - return this->unbind_i (key); -} - -ACE_INLINE int -TAO_Connection_Cache_Manager::unbind (const TAO_Cache_ExtId &key, - TAO_Cache_IntId &value) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - - return this->unbind_i (key, - value); -} - - -ACE_INLINE int -TAO_Connection_Cache_Manager::purge (void) -{ - return 0; -} - -ACE_INLINE size_t -TAO_Connection_Cache_Manager::current_size (void) const -{ - return this->cache_map_.current_size (); -} - -ACE_INLINE size_t -TAO_Connection_Cache_Manager::total_size (void) const -{ - return this->cache_map_.total_size (); -} - -ACE_INLINE int -TAO_Connection_Cache_Manager::make_idle (HASH_MAP_ENTRY *&entry) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_Lock, - guard, - *this->cache_lock_, - -1)); - return this->make_idle_i (entry); -} |