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