summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-06-02 16:11:51 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-06-02 16:11:51 +0000
commit8d90c43bd49c728f3c553a4e4d2ad7d25367a872 (patch)
tree078cd0193fcdfa12936eae5a6372ae750ecb79f7 /cpp/src/IceGrid/ObjectCache.h
parentwarm up JIT compiler before measuring latency (diff)
downloadice-8d90c43bd49c728f3c553a4e4d2ad7d25367a872.tar.bz2
ice-8d90c43bd49c728f3c553a4e4d2ad7d25367a872.tar.xz
ice-8d90c43bd49c728f3c553a4e4d2ad7d25367a872.zip
Bug fixes
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.h')
-rw-r--r--cpp/src/IceGrid/ObjectCache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.h b/cpp/src/IceGrid/ObjectCache.h
index cb9d049a6f9..079bfaf9465 100644
--- a/cpp/src/IceGrid/ObjectCache.h
+++ b/cpp/src/IceGrid/ObjectCache.h
@@ -42,11 +42,15 @@ public:
virtual void released(const SessionIPtr&);
virtual bool canTryAllocate();
+ void destroy();
+ virtual void checkAllocatable();
+
private:
ObjectCache& _cache;
const ObjectInfo _info;
const std::string _application;
+ bool _destroyed;
};
typedef IceUtil::Handle<ObjectEntry> ObjectEntryPtr;