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