Class SQLiteDB
java.lang.Object
com.djrapitops.plan.storage.database.AbstractDatabase
com.djrapitops.plan.storage.database.SQLDB
com.djrapitops.plan.storage.database.SQLiteDB
- All Implemented Interfaces:
Database
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Database
Database.State -
Field Summary
Fields inherited from class SQLDB
applicationDependencyManager, config, driverClassLoader, errorLogger, files, locale, logger, runnableFactoryFields inherited from class AbstractDatabase
accessLock -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleangetNewConnection(File dbFile) getType()Used to get theDBTypeof the DatabaseinthashCode()voidreturnToPool(Connection connection) voidSet up the source for connections.Methods inherited from class SQLDB
attemptToCloseTransactionExecutor, downloadDriver, executeTransaction, forceCloseTransactionExecutor, getLocale, getLogger, getRunnableFactory, getServerUUIDSupplier, getTransactionOrigin, getTransactionQueueSize, init, query, queryWithinTransaction, setDownloadDriver, setTransactionExecutorServiceProvider, shouldDropUnimportantTransactions, unloadDriverClassloaderMethods inherited from class AbstractDatabase
assumeNoMoreHeavyLoad, getHeavyLoadDelayMs, getState, increaseHeavyLoadDelay, isUnderHeavyLoad, setStateMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Database
executeInTransaction, executeInTransaction, getSql, queryCollection, queryList, queryMap, queryMap, queryOptional, querySet
-
Method Details
-
getDependencyResource
- Specified by:
getDependencyResourcein classSQLDB
-
setupDataSource
public void setupDataSource()Description copied from class:SQLDBSet up the source for connections.- Specified by:
setupDataSourcein classSQLDB
-
getNewConnection
- Throws:
SQLException
-
getType
-
getConnection
- Specified by:
getConnectionin classSQLDB- Throws:
SQLException
-
close
-
returnToPool
- Specified by:
returnToPoolin classSQLDB
-
equals
-
hashCode
-