const DbSession & session() const
bool existsDbase(const std::string &nam)
Check for Database existence within domain.
StatusCode open()
Open domain in default access mode.
StatusCode setOption(const DbOption &refOpt)
Set domain specific options.
IDbDomain * info()
Access to technology dependent implementation.
IDbDomain * m_info
Technology dependent stuff.
StatusCode open(DbAccessMode mode)
Open domain with possible change of access mode.
DbDomainObj(DbSession &session, const DbType &typ, DbAccessMode mode=pool::READ)
Constructor.
int ageLimit() const
Access the maximal age limit.
StatusCode ageOpenDbs()
Increase the age of all open databases.
void setAgeLimit(int value)
Set the maximal allowed age limit for files in this domain.
StatusCode closeAgedDbs()
Check if databases are present, which aged a lot and need to be closed.
int m_maxAge
Maximal age of files allowed.
StatusCode getOption(DbOption &refOpt) const
Access domain specific options.
const IDbDomain * info() const