summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/ObjectStore.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-04-12 15:54:40 +0000
committerBernard Normier <bernard@zeroc.com>2004-04-12 15:54:40 +0000
commit8265872f9d1a761b5d7f91fd102087b84eb65b73 (patch)
tree76e2c1a0b3cc9b0f7d131197aad27a4da0d2bf51 /cpp/src/Freeze/ObjectStore.h
parentminor fixes (diff)
downloadice-8265872f9d1a761b5d7f91fd102087b84eb65b73.tar.bz2
ice-8265872f9d1a761b5d7f91fd102087b84eb65b73.tar.xz
ice-8265872f9d1a761b5d7f91fd102087b84eb65b73.zip
Switched to a single database file with multiple databases
Diffstat (limited to 'cpp/src/Freeze/ObjectStore.h')
-rw-r--r--cpp/src/Freeze/ObjectStore.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/Freeze/ObjectStore.h b/cpp/src/Freeze/ObjectStore.h
index cd16c2e8f37..56a41d46451 100644
--- a/cpp/src/Freeze/ObjectStore.h
+++ b/cpp/src/Freeze/ObjectStore.h
@@ -40,7 +40,7 @@ class ObjectStore : public Cache
{
public:
- ObjectStore(const std::string&, const std::string&, bool, EvictorI*,
+ ObjectStore(const std::string&, bool, EvictorI*,
const std::vector<IndexPtr>& = std::vector<IndexPtr>(), bool = false);
virtual ~ObjectStore();
@@ -58,10 +58,11 @@ public:
//
// For IndexI and Iterator
//
- Db* db() const;
+ Db* db() const;
+ const std::string& dbName() const;
+
const Ice::CommunicatorPtr& communicator() const;
EvictorI* evictor() const;
- const std::string& filename() const;
const std::string& facet() const;
protected:
@@ -73,7 +74,7 @@ private:
std::auto_ptr<Db> _db;
std::string _facet;
- std::string _filename;
+ std::string _dbName;
EvictorI* _evictor;
std::vector<IndexPtr> _indices;
Ice::CommunicatorPtr _communicator;