16 const std::string& name,
17 const IInterface* parent)
49 return AthAlgTool::finalize();
59 if ( db.openMode() == Io::INVALID ) {
63 result = db.readObject( token,
object );
77 if ( db.openMode() == Io::INVALID ) {
90 if( !iManager.second->disconnectAll() ) ret =
false;
111 bool bCommit = db->commitTransaction();
114 <<
"FID = " << db->fid() <<
endmsg <<
"PFN = " << db->pfn() );
131 bool bCommit = db->commitAndHoldTransaction();
134 <<
"FID = " << db->fid() <<
endmsg <<
"PFN = " << db->pfn() );
145std::unique_ptr<pool::IDatabase>
150 return std::make_unique<pool::UserDatabase>( *
this, dbName, dbNameType );
177 return *(iManager->second);
#define ATH_MSG_ERROR(x,...)
This file contains the class definition for the Placement class (migrated from POOL).
This file contains the class definition for the Token class (migrated from POOL).
constexpr void toString(std::span< char, StrLen > buf, bool uppercase=true) const noexcept
Automatic conversion to string representation.
This class holds all the necessary information to guide the writing of an object in a physical place.
const std::string & containerName() const
Access container name.
const std::string & fileName() const
Access file name.
int technology() const
Access technology type.
This class provides a token that identifies in a unique way objects on the persistent storage.
int technology() const
Access technology type.
const Guid & dbID() const
Access database identifier.
int majorType() const
Access to major type.
The IStorageSvc interface is able to handle user request for.
MicroSessionManager is a class taking care of starting sessions for a given major technology and mana...
IStorageSvc & getStorageSvc()
Return StorageSvc.
UserDatabase is an implementation of the IDatabase interface.
NameType
Enumeration type specifying the database name field, wherever the latter is used in methods accessing...