Class AbstractDatabase
java.lang.Object
com.djrapitops.plan.storage.database.AbstractDatabase
- All Implemented Interfaces:
Database
- Direct Known Subclasses:
SQLDB
Abstract class representing a Database.
All Operations methods should be only called from an asynchronous thread.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.storage.database.Database
Database.State
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getState()
void
boolean
void
setState
(Database.State state) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.djrapitops.plan.storage.database.Database
close, executeTransaction, getSql, getType, init, query, queryCollection, queryList, queryMap, queryMap, queryOptional, querySet
-
Field Details
-
accessLock
-
-
Constructor Details
-
AbstractDatabase
protected AbstractDatabase()
-
-
Method Details