summaryrefslogtreecommitdiff
path: root/TAO/tao/default_resource.h
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 14:24:17 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-17 14:24:17 +0000
commit0f26b15489ae2c7a1d1de00cb019b3c8238a574f (patch)
treec4be9440656b7b04a4f231363e42ef221945623e /TAO/tao/default_resource.h
parentc1a6f3562c72fae20f13bd7a4b3dad5d1cdfb583 (diff)
downloadATCD-0f26b15489ae2c7a1d1de00cb019b3c8238a574f.tar.gz
ChangeLogTag: Thu May 17 08:53:33 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/default_resource.h')
-rw-r--r--TAO/tao/default_resource.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h
index 07482af93f3..bdc43c58abf 100644
--- a/TAO/tao/default_resource.h
+++ b/TAO/tao/default_resource.h
@@ -91,10 +91,12 @@ public:
virtual int init_protocol_factories (void);
virtual TAO_Resource_Factory::Caching_Strategy connection_caching_strategy_type (void) const;
- virtual double purge_percentage (void) const;
+ virtual int cache_maximum (void) const;
+ virtual int purge_percentage (void) const;
virtual TAO_Priority_Mapping *get_priority_mapping (void);
virtual ACE_Lock *create_cached_connection_lock (void);
virtual TAO_Flushing_Strategy *create_flushing_strategy (void);
+ virtual TAO_Connection_Purging_Strategy *create_purging_strategy (void);
virtual TAO_LF_Strategy *create_lf_strategy (void);
protected:
@@ -128,9 +130,13 @@ protected:
/// connection management.
TAO_Resource_Factory::Caching_Strategy connection_caching_type_;
+ /// Specifies the maximum number of connections which should get cached
+ /// in the ORB.
+ int cache_maximum_;
+
/// Specifies the percentage of entries which should get purged on
/// demand.
- double purge_percentage_;
+ int purge_percentage_;
/// If <0> then we create reactors with signal handling disabled.
int reactor_mask_signals_;