summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-12-07 15:31:48 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-12-07 15:31:48 +0000
commitcbde90b8cc32ec3863c2d78a0ed62e1b986aebe4 (patch)
treef60a3e21a1a066f4ded02d6378c0cf9318a14460 /cpp/src/IceGrid/ServerCache.h
parentReplicate TopicManager as well (diff)
downloadice-cbde90b8cc32ec3863c2d78a0ed62e1b986aebe4.tar.bz2
ice-cbde90b8cc32ec3863c2d78a0ed62e1b986aebe4.tar.xz
ice-cbde90b8cc32ec3863c2d78a0ed62e1b986aebe4.zip
Fixed bug 1603
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r--cpp/src/IceGrid/ServerCache.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h
index 892e89d140a..1e934430c30 100644
--- a/cpp/src/IceGrid/ServerCache.h
+++ b/cpp/src/IceGrid/ServerCache.h
@@ -36,8 +36,10 @@ public:
ServerEntry(ServerCache&, const std::string&);
- void load();
- void unload();
+ void sync();
+ void syncAndWait();
+ void waitNoThrow();
+ void unsync();
void update(const ServerInfo&);
void destroy();
@@ -64,8 +66,9 @@ public:
private:
- void syncImpl(bool);
-
+ void syncImpl();
+ void waitImpl();
+
ServerCache& _cache;
const std::string _id;
std::auto_ptr<ServerInfo> _loaded;