26 #include <MemoryX/interface/components/CommonStorageInterface.h>
36 virtual public DatabaseInterface
39 Database(
const CommonStorageInterfacePtr& dbConn,
const std::string& dbName);
42 CollectionInterfacePrx
requestCollection(const ::std::string& collName, const ::Ice::Current& = Ice::emptyCurrent)
override;
43 void releaseCollection(const ::memoryx::CollectionInterfacePrx& coll, const ::Ice::Current& = Ice::emptyCurrent)
override;
44 void dropCollection(const ::std::string& collName, const ::Ice::Current& = Ice::emptyCurrent)
override;
46 std::string
getName(const ::Ice::Current& = Ice::emptyCurrent)
override;
51 CommonStorageInterfacePtr dbConn;
52 std::mutex dbConnectionMutex;
57 std::string getCollectionNS(std::string collName);