diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-05-03 13:12:54 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-05-03 13:12:54 +0000 |
commit | 39952a0fc932b6a65612d3402937be9b222c13e1 (patch) | |
tree | 451947254047968d700db7286d309401bd3cb09f /cpp/src/IceGrid/ObjectCache.h | |
parent | Some refactoring of string converter usage (diff) | |
download | ice-39952a0fc932b6a65612d3402937be9b222c13e1.tar.bz2 ice-39952a0fc932b6a65612d3402937be9b222c13e1.tar.xz ice-39952a0fc932b6a65612d3402937be9b222c13e1.zip |
Added stress test, fixed bugs.
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.h')
-rw-r--r-- | cpp/src/IceGrid/ObjectCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.h b/cpp/src/IceGrid/ObjectCache.h index 866350111fa..f19f602b7d4 100644 --- a/cpp/src/IceGrid/ObjectCache.h +++ b/cpp/src/IceGrid/ObjectCache.h @@ -39,7 +39,7 @@ public: bool canRemove(); virtual bool release(const SessionIPtr&); - virtual void allocated(const SessionIPtr&); + virtual bool allocated(const SessionIPtr&); virtual void released(const SessionIPtr&); private: @@ -61,9 +61,10 @@ public: private: - virtual void allocated(const AllocatablePtr& allocatable, const SessionIPtr& session) + virtual bool allocated(const AllocatablePtr& allocatable, const SessionIPtr& session) { response(ObjectEntryPtr::dynamicCast(allocatable)->getObjectInfo().proxy); + return true; } virtual void canceled(const AllocationException& ex) |