summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-09-05 15:03:32 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-09-05 15:03:32 +0000
commitcca8b5bbd5d854c69dbea17968432067ba96e21f (patch)
tree368c495a49f182121e7fc722579a23207cd3ac05 /cpp/src/IceGrid/ObjectCache.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=403 (diff)
downloadice-cca8b5bbd5d854c69dbea17968432067ba96e21f.tar.bz2
ice-cca8b5bbd5d854c69dbea17968432067ba96e21f.tar.xz
ice-cca8b5bbd5d854c69dbea17968432067ba96e21f.zip
Added support for adaptive load balancing.
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r--cpp/src/IceGrid/ObjectCache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp
index 700b0bba438..f254249ed0a 100644
--- a/cpp/src/IceGrid/ObjectCache.cpp
+++ b/cpp/src/IceGrid/ObjectCache.cpp
@@ -17,7 +17,8 @@
using namespace std;
using namespace IceGrid;
-ObjectCache::ObjectCache(const Ice::CommunicatorPtr& communicator) :
+ObjectCache::ObjectCache(const Ice::CommunicatorPtr& communicator, const TraceLevelsPtr& traceLevels) :
+ Cache<Ice::Identity, ObjectEntry>(traceLevels),
_communicator(communicator)
{
}