diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-09-05 15:03:32 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-09-05 15:03:32 +0000 |
commit | cca8b5bbd5d854c69dbea17968432067ba96e21f (patch) | |
tree | 368c495a49f182121e7fc722579a23207cd3ac05 /cpp/src/IceGrid/NodeCache.h | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=403 (diff) | |
download | ice-cca8b5bbd5d854c69dbea17968432067ba96e21f.tar.bz2 ice-cca8b5bbd5d854c69dbea17968432067ba96e21f.tar.xz ice-cca8b5bbd5d854c69dbea17968432067ba96e21f.zip |
Added support for adaptive load balancing.
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.h')
-rw-r--r-- | cpp/src/IceGrid/NodeCache.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/NodeCache.h b/cpp/src/IceGrid/NodeCache.h index a811cb88ba7..3384914651a 100644 --- a/cpp/src/IceGrid/NodeCache.h +++ b/cpp/src/IceGrid/NodeCache.h @@ -38,6 +38,7 @@ public: NodePrx getProxy() const; Ice::StringSeq getServers() const; + LoadInfo getLoadInfo() const; bool canRemove(); @@ -54,7 +55,15 @@ class NodeCache : public CacheByString<NodeEntry> { public: + NodeCache(int, const TraceLevelsPtr&); + NodeEntryPtr get(const std::string&, bool = false) const; + + int getSessionTimeout() { return _sessionTimeout; } + +private: + + const int _sessionTimeout; }; }; |