summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/ORB_Core.cpp12
-rw-r--r--TAO/tao/ORB_Core.h7
2 files changed, 19 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index a4dd33b3355..4dbbae6045d 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -1685,6 +1685,18 @@ TAO_ORB_Core::default_environment (CORBA_Environment *env)
TAO_TSS_RESOURCES::instance ()->default_environment_ = env;
}
+int
+TAO_ORB_Core::connection_caching_strategy_type (void)
+{
+ return this->resource_factory ()->get_connection_caching_strategy_type ();
+}
+
+double
+TAO_ORB_Core::purge_percentage (void)
+{
+ return this->resource_factory ()->get_purge_percentage ();
+}
+
#if defined (TAO_HAS_CORBA_MESSAGING)
TAO_Policy_Current &
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h
index d5bcfbc4c64..9fd453dbe53 100644
--- a/TAO/tao/ORB_Core.h
+++ b/TAO/tao/ORB_Core.h
@@ -414,6 +414,13 @@ public:
int run (ACE_Time_Value *tv, int break_on_timeouts);
// Run the event loop
+ int connection_caching_strategy_type (void);
+ // Tells what type of caching strategy to use for connection management.
+
+ double purge_percentage (void);
+ // What is the percentage of entries to be removed from the
+ // connection cache on demand?
+
protected:
int set_iiop_endpoint (int dotted_decimal_addresses,
CORBA::UShort port,