java.lang.Object
com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDBManager
All Implemented Interfaces:
DBManager

public class SQLiteDBManager extends Object implements DBManager
Created by colby.clegg on 11/12/2015.
  • Field Details

    • DRIVER_CLASS

      public static final String DRIVER_CLASS
      See Also:
    • dbDir

      protected File dbDir
      The home directory that the database lives in
    • autoBackupDir

      protected File autoBackupDir
    • dbName

      protected String dbName
      The name of the database
    • faultCount

      protected int faultCount
      Number of faulted copies to keep
    • autoBackupCount

      protected int autoBackupCount
      Number of auto-backups to keep, if autoBackupsEnabled is true
    • autoBackupDelay

      protected int autoBackupDelay
      Delay, in minutes, between checking if an auto-backup is necessary.
    • defragDelay

      protected int defragDelay
      Delay, in minutes, between defragmentation. If 0, defrag checkpoints will not be executed. *
    • autoBackupsEnabled

      protected boolean autoBackupsEnabled
      Whether or not to use any autobackups. Note that setting this to false doesn net prevent the creation of autobackups - for that you'd set autoBackupCount to zero.
    • datasource

      protected CountingDataSource datasource
      When this manager is connected, this will be a non-null reference to a javax.sql.DataSource that can be used to get connections to the database
    • newDatabase

      protected boolean newDatabase
      Flag that will be set true when this manager was started up with no database and created an initial one on connect()
    • log

      protected LoggerEx log
  • Constructor Details

  • Method Details