diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-10-18 13:52:25 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-10-18 13:52:25 +0000 |
commit | 27cb5b1e6cfa9e23de49f2287795b91e83a74ce2 (patch) | |
tree | f1417e8715d9d61dde6176c2c86c58b071486553 /cpp/src/IceGrid/ServerCache.cpp | |
parent | Changed STLPORT_HOME to USE_STLPORT (diff) | |
download | ice-27cb5b1e6cfa9e23de49f2287795b91e83a74ce2.tar.bz2 ice-27cb5b1e6cfa9e23de49f2287795b91e83a74ce2.tar.xz ice-27cb5b1e6cfa9e23de49f2287795b91e83a74ce2.zip |
Added IceGrid::Locator interface, more replication tests.
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/ServerCache.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cpp/src/IceGrid/ServerCache.cpp b/cpp/src/IceGrid/ServerCache.cpp index ccf1731384d..b858309b921 100644 --- a/cpp/src/IceGrid/ServerCache.cpp +++ b/cpp/src/IceGrid/ServerCache.cpp @@ -254,31 +254,6 @@ ServerEntry::update(const ServerInfo& info) } void -ServerEntry::updateRevision(int revision) -{ - ServerPrx proxy; - string uuid; - { - Lock sync(*this); - if(_loaded.get()) // Synced or if not up to date is fine - { - proxy = _proxy; - uuid = _loaded->uuid; - _loaded->revision = revision; - } - else if(_load.get()) - { - uuid = _load->uuid; - _load->revision = revision; - } - else - { - assert(false); - } - } -} - -void ServerEntry::destroy() { Lock sync(*this); |