summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r--cpp/src/IceGrid/ServerCache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h
index 47837584468..48a3515b084 100644
--- a/cpp/src/IceGrid/ServerCache.h
+++ b/cpp/src/IceGrid/ServerCache.h
@@ -14,15 +14,17 @@
#include <IceUtil/Shared.h>
#include <IceGrid/Descriptor.h>
#include <IceGrid/Internal.h>
+#include <IceGrid/Query.h>
#include <IceGrid/Allocatable.h>
#include <IceGrid/Cache.h>
-#include <IceGrid/AdapterCache.h>
namespace IceGrid
{
class ServerCache;
class ObjectCache;
+class AdapterCache;
+class AllocatableObjectCache;
class NodeCache;
class NodeEntry;
@@ -86,7 +88,7 @@ class ServerCache : public CacheByString<ServerEntry>
{
public:
- ServerCache(const Ice::CommunicatorPtr&, NodeCache&, AdapterCache&, ObjectCache&);
+ ServerCache(const Ice::CommunicatorPtr&, NodeCache&, AdapterCache&, ObjectCache&, AllocatableObjectCache&);
ServerEntryPtr add(const ServerInfo&);
ServerEntryPtr get(const std::string&) const;
@@ -110,6 +112,7 @@ private:
NodeCache& _nodeCache;
AdapterCache& _adapterCache;
ObjectCache& _objectCache;
+ AllocatableObjectCache& _allocatableObjectCache;
};
};