Class DBAccessLock
java.lang.Object
com.djrapitops.plan.storage.database.DBAccessLock
Database Lock that prevents queries and transactions from taking place before database schema is ready.
- OperationCriticalTransactions pass through the Access lock without blocking to allow the initial transactions. - Queries inside Transactions skip access log to allow OperationCriticalTransactions perform queries.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DBAccessLock
-
-
Method Details
-
checkAccess
public void checkAccess() -
checkAccess
-
operabilityChanged
public void operabilityChanged()
-