|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef POOLSVC_IPOOLSVC_H 
    6 #define POOLSVC_IPOOLSVC_H 
   13 #include "GaudiKernel/IService.h" 
   71    virtual const coral::Context* 
context() 
const = 0;
 
   88    virtual void lookupBestPfn(
const std::string& token, std::string& pfn, std::string& 
type) 
const = 0;
 
   93    virtual void renamePfn(
const std::string& 
pf, 
const std::string& newpf) = 0;
 
  101        const std::string& connection,
 
  102        const std::string& collectionName,
 
  110        const std::string& collection,
 
  111        const unsigned long ientry) 
const = 0;
 
  136    virtual long long int getFileSize(
const std::string& 
dbName, 
long tech, 
unsigned int contextId) 
const = 0;
 
  148        const std::string& 
dbName,
 
  149        const std::string& contName = 
"",
 
  154        const std::string& 
data,
 
  160        const std::string& 
data,
 
  162        const std::string& 
dbName,
 
  163        const std::string& contName = 
"",
 
  
virtual Token * registerForWrite(const Placement *placement, const void *obj, const RootType &classDesc)=0
virtual const std::map< std::string, unsigned int > & getInputContextMap() const =0
DeclareInterfaceID(IPoolSvc, 1, 0)
Declare interface ID.
char data[hepevt_bytes_allocation_ATLAS]
This class holds all the necessary information to guide the writing of an object in a physical place.
This class provides the interface to the LCG POOL persistency software.
virtual Token * getToken(const std::string &connection, const std::string &collection, const unsigned long ientry) const =0
virtual StatusCode getAttribute(const std::string &optName, std::string &data, long tech, unsigned int contextId=IPoolSvc::kInputStream) const =0
Get POOL attributes - domain.
virtual void renamePfn(const std::string &pf, const std::string &newpf)=0
virtual StatusCode setFrontierCache(const std::string &conn)=0
Setup Frontier cache for given logical or physical connection name.
virtual StatusCode commitAndHold(unsigned int contextId=IPoolSvc::kInputStream) const =0
Commit data for a given stream and hold buffer.
Type
Transaction type enumeration.
virtual unsigned int getOutputContext(const std::string &label)=0
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual void setObjPtr(void *&obj, const Token *token)=0
virtual StatusCode commit(unsigned int contextId=IPoolSvc::kInputStream) const =0
Commit data for a given stream and flush buffer.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void lookupBestPfn(const std::string &token, std::string &pfn, std::string &type) const =0
virtual const pool::IFileCatalog * catalog() const =0
virtual void setShareMode(bool shareCat)=0
virtual StatusCode disconnectDb(const std::string &connection, unsigned int contextId=IPoolSvc::kInputStream) const =0
Disconnect single Database.
PoolStream
Stream to distinguish the POOL Stream instances.
virtual void loadComponent(const std::string &compName)=0
virtual const coral::Context * context() const =0
virtual long long int getFileSize(const std::string &dbName, long tech, unsigned int contextId) const =0
Get POOL FileSize attribute for database without logging a message.
virtual StatusCode setAttribute(const std::string &optName, const std::string &data, long tech, const std::string &dbName, const std::string &contName="", unsigned int contextId=IPoolSvc::kOutputStream) const =0
Set POOL attributes - db/file, container/collection.
virtual StatusCode getAttribute(const std::string &optName, std::string &data, long tech, const std::string &dbName, const std::string &contName="", unsigned int contextId=IPoolSvc::kInputStream) const =0
Get POOL attributes - db/file, container/collection.
virtual StatusCode setAttribute(const std::string &optName, const std::string &data, long tech, unsigned int contextId=IPoolSvc::kOutputStream) const =0
Set POOL attributes - domain.
virtual unsigned int getInputContext(const std::string &label, unsigned int maxFile=0)=0
virtual StatusCode disconnect(unsigned int contextId=IPoolSvc::kInputStream) const =0
Disconnect PersistencySvc associated with a stream.
virtual pool::ICollection * createCollection(const std::string &collectionType, const std::string &connection, const std::string &collectionName, unsigned int contextId=IPoolSvc::kInputStream) const =0
virtual StatusCode connect(pool::ITransaction::Type type, unsigned int contextId=IPoolSvc::kInputStream)=0
Connect to a logical database unit; PersistencySvc is chosen according to transaction type (accessmod...