Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > JadeDatabaseAdmin Class Constants

JadeDatabaseAdmin Class Constants

The constants provided by the JadeDatabaseAdmin class are listed in the following table.

Constant Integer Value Description
BackupAbortedEvent 4000 Multiple file backup terminated by the user.
BackupCancelledEvent 8000 Multiple file backup has been cancelled by the user.
BackupCompleteEvent 3000 Multiple file backup completed normally.
BackupFailedEvent 9000 Multiple file backup has failed.
FileBackupCompleteEvent 2000 File backup has finished.
FileBackupStartEvent 1000 File backup has commenced.
JournalTransferEvent 6000 Recovery journal file has been transferred.
Mode_Archive 4 Database is in archive mode (journal files are archived for database recovery).
Mode_Default 9 Database is in default mode.
Mode_Exclusive 1 Database is open for exclusive access. If one user has the database open in exclusive mode, other users are prevented from opening the database.
Mode_Shared 0 Database is in shared mode.
Mode_Snapshot 6 Database is in a condition for an external third‑party snapshot backup.
RpsStorageMode_Full 0 Full database replica RPS data store mode.
RpsStorageMode_MappedExtent 1 Mapped extent RPS data store mode.
RpsStorageMode_WorkingSet 2 Working set RPS data store mode.
Usage_NoAudit 2 Database is not in recovery mode.
Usage_ReadOnly 1 Database cannot be updated; that is, it is in quiesced mode.
Usage_Update 0 Changes can be made to the database.

For details about these constants, see "JadeDatabaseAdmin Class Event Notifications" or the changeDbAccessMode method, later in this section.